[net-im/swift] fix lua
This commit is contained in:
parent
aa777c5864
commit
8f94d12eb2
@ -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() {
|
||||
|
Loading…
Reference in New Issue
Block a user