aboutsummaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2015-03-05 10:38:40 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2015-03-05 10:38:40 +0000
commit71993413ec7829fec777248d3a8c444532f57ec2 (patch)
treea4c7b0618651af84c8a08145c24cb5ea4f233d48 /CMakeLists.txt
parent6aeab25b1d1e1d49b94ee152ded2c011c6f7d5e1 (diff)
downloadrspamd-71993413ec7829fec777248d3a8c444532f57ec2.tar.gz
rspamd-71993413ec7829fec777248d3a8c444532f57ec2.zip
Fix linkage with luajit on osx.
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index a876c4d78..5c26cfbf8 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -317,7 +317,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")
-
+ SET(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -pagezero_size 10000 -image_base 100000000")
MESSAGE(STATUS "Configuring for Darwin")
ENDIF(CMAKE_SYSTEM_NAME STREQUAL "Darwin")