Try using pkgconfig instead of hardcoding luajit header path
OBS-URL: https://build.opensuse.org/package/show/Publishing/sile?expand=0&rev=49
This commit is contained in:
parent
dc51c83974
commit
f34067a19c
@ -176,7 +176,7 @@ unset LIBSSH2_SYS_USE_PKG_CONFIG
|
||||
export RUSTFLAGS=" -Clink-arg=-Wl,-z,relro,-z,now -C debuginfo=2 -C incremental=false -C strip=none"
|
||||
export CARGO_AUDITABLE=auditable
|
||||
export CARGO_FEATURE_VENDORED=1
|
||||
export LUA_INCLUDE="-I/usr/include/luajit-5_1-2.1"
|
||||
export LUA_INCLUDE="$(pkg-config --cflags-only-I luajit)"
|
||||
export CFLAGS="%optflags $(pkg-config --cflags-only-I luajit)"
|
||||
export CXXFLAGS="%optflags $(pkg-config --cflags-only-I luajit)"
|
||||
%configure \
|
||||
|
Loading…
Reference in New Issue
Block a user