[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:
parent
16e1a78ad5
commit
5c48617737
|
@ -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…
Reference in New Issue