[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
This commit is contained in:
Stefan Bühler 2015-08-22 17:52:17 +00:00
parent 16e1a78ad5
commit 5c48617737
1 changed files with 1 additions and 1 deletions

View File

@ -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})