Browse Source

cmake: Add -export-dynamic to link flags, fixes build on FreeBSD

git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2577 152afb58-edef-0310-8abb-c4023f1b3aa9
svn/tags/lighttpd-1.4.24
Stefan Bühler 13 years ago
parent
commit
fbd4fe3c07
  1. 1
      NEWS
  2. 2
      src/CMakeLists.txt

1
NEWS

@ -15,6 +15,7 @@ NEWS
* Add "lua-5.1" to searched pkg-config names for lua
* Fix unused function webdav_lockdiscovery in mod_webdav
* cmake: Fix crypt lib check
* cmake: Add -export-dynamic to link flags, fixes build on FreeBSD
- 1.4.23 - 2009-06-19
* Added some extra warning options in cmake and fix the resulting warnings (unused/static functions)

2
src/CMakeLists.txt

@ -569,6 +569,8 @@ IF(CMAKE_COMPILER_IS_GNUCC)
ADD_DEFINITIONS(-D_GNU_SOURCE)
ENDIF(CMAKE_COMPILER_IS_GNUCC)
ADD_TARGET_PROPERTIES(lighttpd LINK_FLAGS "-export-dynamic")
SET_TARGET_PROPERTIES(lighttpd PROPERTIES CMAKE_INSTALL_PREFIX ${CMAKE_INSTALL_PREFIX})
IF(WIN32)

Loading…
Cancel
Save