Browse Source

[cmake] fix FreeBSD linker bug

From: Stefan Bühler <stbuehler@web.de>

git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@3018 152afb58-edef-0310-8abb-c4023f1b3aa9
svn/tags/lighttpd-1.4.37
Stefan Bühler 6 years ago
parent
commit
5c48617737
  1. 2
      src/CMakeLists.txt

2
src/CMakeLists.txt

@ -635,7 +635,7 @@ if(CMAKE_COMPILER_IS_GNUCC)
add_definitions(-D_GNU_SOURCE)
endif()
add_target_properties(lighttpd LINK_FLAGS "-export-dynamic")
add_target_properties(lighttpd LINK_FLAGS "-Wl,-export-dynamic")
set_target_properties(lighttpd PROPERTIES CMAKE_INSTALL_PREFIX ${CMAKE_INSTALL_PREFIX})

Loading…
Cancel
Save