trafficserver-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r..@apache.org
Subject [trafficserver] branch master updated: Sets macOS luajit linker flags only when luajit detected
Date Tue, 16 Jul 2019 17:20:37 GMT
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 8345dc1  Sets macOS luajit linker flags only when luajit detected
8345dc1 is described below

commit 8345dc1c9e5fa0e88905318635f759a13672a3d3
Author: Randall Meyer <rrm@apache.org>
AuthorDate: Mon Jul 15 09:21:28 2019 -0700

    Sets macOS luajit linker flags only when luajit detected
---
 build/luajit.m4 | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/build/luajit.m4 b/build/luajit.m4
index 6ca0251..bb48619 100644
--- a/build/luajit.m4
+++ b/build/luajit.m4
@@ -168,9 +168,11 @@ fi
 TS_ARG_ENABLE_VAR([has],[luajit])
 AM_CONDITIONAL([HAS_LUAJIT], [test 0 -ne $has_luajit])
 
-# On Darwin, LuaJIT requires magic link options for a program loading or running with LuaJIT,
-# otherwise it will crash in luaL_openlibs() at startup.  See http://luajit.org/install.html
for more details
+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
 AC_SUBST([LUAJIT_DARWIN_LDFLAGS], ["-Wl,-pagezero_size,10000 -Wl,-image_base,100000000"])
+fi
 AM_CONDITIONAL([IS_DARWIN], [test x$(uname) = xDarwin])
 
 ])


Mime
View raw message