summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Bühler <stbuehler@web.de>2015-08-22 17:52:17 +0000
committerStefan Bühler <stbuehler@web.de>2015-08-22 17:52:17 +0000
commit5c48617737796edb53fe9d89dbc179465fec5cb9 (patch)
tree35dd6390c5f55063b453173ffade8eef337b1d55
parent16e1a78ad542d8492bac460cab33af798f99909c (diff)
downloadlighttpd-git-5c48617737796edb53fe9d89dbc179465fec5cb9.tar.gz
[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
-rw-r--r--src/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 3c52d5d7..13a3e19a 100644
--- a/src/CMakeLists.txt
+++ b/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})