summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 8b1c91f9..1323272d 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -616,7 +616,7 @@ IF(CMAKE_COMPILER_IS_GNUCC)
ADD_DEFINITIONS(-D_GNU_SOURCE)
ENDIF(CMAKE_COMPILER_IS_GNUCC)
-ADD_TARGET_PROPERTIES(lighttpd LINK_FLAGS "${GTHREAD_LDFLAGS} ${XML2_LDFLAGS}")
+ADD_TARGET_PROPERTIES(lighttpd LINK_FLAGS "-export-dynamic ${GTHREAD_LDFLAGS} ${XML2_LDFLAGS}")
IF(CMAKE_SYSTEM MATCHES "Linux")
## on linux we need pthread and librt for posix-aio
ADD_TARGET_PROPERTIES(lighttpd LINK_FLAGS "-lrt")