]> source.dussan.org Git - rspamd.git/commitdiff
Fix linkage with luajit on osx.
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Thu, 5 Mar 2015 10:38:40 +0000 (10:38 +0000)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Thu, 5 Mar 2015 10:38:40 +0000 (10:38 +0000)
CMakeLists.txt

index a876c4d787ea12a3a55bd2cd0eee1a14e1c445ae..5c26cfbf87ccf40faaaf3a600e3b488893fbc3ff 100644 (file)
@@ -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")