Commit 6a9beec3 authored by Jérome Perrin's avatar Jérome Perrin

component/trafficserver: fix LuaJIT integration

Fixes 50f6a557 (component/trafficserver: build Lua plugin., 2021-11-23)
LuaJIT has to be build as shared to be referenced by trafficserver
component, because the later is already build as shared.
Also fix a missing rpath
parent 80917e8d
Pipeline #18502 failed with stage
in 0 seconds
......@@ -6,10 +6,11 @@ parts = luajit
[luajit]
recipe = slapos.recipe.cmmi
shared = true
url = https://luajit.org/download/LuaJIT-2.0.5.tar.gz
md5sum = 48353202cbcacab84ee41a5a70ea0a2c
configure-command = true
# pass dummy LDCONFIG to skip needless calling of ldconfig by non-root user
make-options =
DPREFIX=${buildout:parts-directory}/${:_buildout_section_name_}
DPREFIX=@@LOCATION@@
LDCONFIG=/bin/echo
......@@ -42,7 +42,7 @@ configure-options =
--disable-posix-cap
environment =
PATH=${libtool:location}/bin:${make:location}/bin:${patch:location}/bin:${perl:location}/bin:${pkgconfig:location}/bin:%(PATH)s
LDFLAGS =-L${openssl:location}/lib -Wl,-rpath=${openssl:location}/lib -L${tcl:location}/lib -Wl,-rpath=${tcl:location}/lib -L${zlib:location}/lib -Wl,-rpath=${zlib:location}/lib -lm
LDFLAGS =-L${openssl:location}/lib -Wl,-rpath=${openssl:location}/lib -L${tcl:location}/lib -Wl,-rpath=${tcl:location}/lib -L${zlib:location}/lib -Wl,-rpath=${zlib:location}/lib -Wl,-rpath=${luajit:location}/lib -lm
make-target =
check
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment