[net-im/swift] fix lua

This commit is contained in:
Robert Förster 2020-12-28 14:15:21 +01:00
parent aa777c5864
commit 8f94d12eb2
1 changed files with 8 additions and 3 deletions

View File

@ -150,9 +150,6 @@ src_configure() {
libnatpmp_force_bundled="false"
link="$(tc-getCXX)"
linkflags="${LDFLAGS}"
lua_includedir="$(lua_get_include_dir)"
lua_libdir="${EPREFIX}/usr/$(get_libdir)"
lua_libname="$(basename -s '.so' $(lua_get_shared_lib))"
max_jobs="no"
optimize="no"
qt="${T}/qt"
@ -172,6 +169,14 @@ src_configure() {
valgrind="no"
zlib_bundled_enable="false"
)
if use lua; then
MYSCONS+=(
lua_includedir="$(lua_get_include_dir)"
lua_libdir="${EPREFIX}/usr/$(get_libdir)"
lua_libname="$(basename -s '.so' $(lua_get_shared_lib))"
)
fi
}
src_compile() {