diff options
author | Bradley Giesbrecht <brad@pixilla.com> | 2013-12-26 13:33:10 -0800 |
---|---|---|
committer | Bradley Giesbrecht <brad@pixilla.com> | 2013-12-26 13:33:10 -0800 |
commit | 6e08ff77f24cb0b1a35676041624f82bc4f1edd6 (patch) | |
tree | b07c1091bd12133286d43b82d8524ff255682c49 /CMakeLists.txt | |
parent | 6059f47851d8475794b9e93be1aa789331f91908 (diff) | |
download | rspamd-6e08ff77f24cb0b1a35676041624f82bc4f1edd6.tar.gz rspamd-6e08ff77f24cb0b1a35676041624f82bc4f1edd6.zip |
rspamd:
- Fix building shared on OS X.
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 290fb95e9..ffbc24974 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -332,6 +332,7 @@ ENDIF(CMAKE_SYSTEM_NAME STREQUAL "FreeBSD") IF(CMAKE_SYSTEM_NAME STREQUAL "Darwin") SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -D_BSD_SOURCE -DDARWIN") + SET(CMAKE_SHARED_LIBRARY_CREATE_C_FLAGS "${CMAKE_SHARED_LIBRARY_CREATE_C_FLAGS} -undefined dynamic_lookup") FIND_LIBRARY(LIBINTL_LIBRARY NAMES intl PATHS /lib /opt/lib |