This is an automated email from the ASF dual-hosted git repository.

rrm pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/trafficserver.git


The following commit(s) were added to refs/heads/master by this push:
     new ad725fe  Fixes linker changes for luajit on macOS
ad725fe is described below

commit ad725fe90110d8479fd0df1b0a063ba417518607
Author: Randall Meyer <[email protected]>
AuthorDate: Mon Aug 5 12:01:26 2019 -0700

    Fixes linker changes for luajit on macOS
    
    Fixes change from 8345dc1c9
---
 build/luajit.m4 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/build/luajit.m4 b/build/luajit.m4
index bb48619..dfca28c 100644
--- a/build/luajit.m4
+++ b/build/luajit.m4
@@ -170,7 +170,7 @@ AM_CONDITIONAL([HAS_LUAJIT], [test 0 -ne $has_luajit])
 
 dnl On Darwin, LuaJIT requires magic link options for a program loading or 
running with LuaJIT,
 dnl otherwise it will crash in luaL_openlibs() at startup.  See 
http://luajit.org/install.html for more details
-if test 0 "$has_luajit" -ne 0; then
+if test "$has_luajit" -ne 0; then
 AC_SUBST([LUAJIT_DARWIN_LDFLAGS], ["-Wl,-pagezero_size,10000 
-Wl,-image_base,100000000"])
 fi
 AM_CONDITIONAL([IS_DARWIN], [test x$(uname) = xDarwin])

Reply via email to