]> source.dussan.org Git - tigervnc.git/commit
Move where -nodefaultlibs is specified
authorPierre Ossman <ossman@cendio.se>
Wed, 21 Jun 2023 11:58:57 +0000 (13:58 +0200)
committerPierre Ossman <ossman@cendio.se>
Wed, 28 Jun 2023 13:54:12 +0000 (15:54 +0200)
commitb0319e3e09b9d5e741a78e0591d730ef577c6ecb
tree33815f641f932d69df3d919768e0bcd9e1235fdf
parente93e2e4dffd2dde85021fc1d6f091e7d05e19e47
Move where -nodefaultlibs is specified

The previous method isn't compatible with CMake's try_compile() as it
will respect CMAKE_EXE_LINKER_FLAGS, but not CMAKE_C_LINK_EXECUTABLE and
friends. This results in the default libraries being completely missing,
and the compile test failing.
cmake/StaticBuild.cmake