trafficserver-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From James Peach <jpe...@apache.org>
Subject Re: git commit: TS-2711 Build with the include LuaJIT
Date Tue, 15 Apr 2014 15:41:19 GMT
On Apr 15, 2014, at 7:29 AM, zwoop@apache.org wrote:
...
> +# These are currently built separate, as part of building the lib/ tree, using
> +# the normal LuaJIT build system. We are using the .o's directly, instead of the
> +# luajit.a to avoid the linker from optimizing symbols away. We could maybe
> +# switch to using the luajit.so, but that involves making sure it installs safely
> +# and cleanly.

Can you elaborate on this?

> -if BUILD_LUA_SUPPORT
> +
> +# On Darwin LuaJIT requires magic link options, otherwise it will crash in luaL_openlibs()
at startup. See
> +# http://luajit.org/install.html.
> traffic_server_LDFLAGS += @LUA_LUAJIT_LDFLAGS@
> -endif

AFAICT nothing ever caused LUA_LUAJIT_LDFLAGS to be set.

> 
> traffic_logcat_SOURCES = logcat.cc
> traffic_logcat_LDFLAGS = @EXTRA_CXX_LDFLAGS@ @LIBTOOL_LINK_FLAGS@
> 


Mime
View raw message