From 5c48617737796edb53fe9d89dbc179465fec5cb9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stefan=20B=C3=BChler?= Date: Sat, 22 Aug 2015 17:52:17 +0000 Subject: [PATCH] [cmake] fix FreeBSD linker bug MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit From: Stefan Bühler git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@3018 152afb58-edef-0310-8abb-c4023f1b3aa9 --- src/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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})