Browse Source

[net-im/swift] fix lua

master
Robert Förster 11 months ago
parent
commit
8f94d12eb2
  1. 11
      net-im/swift/swift-9999.ebuild

11
net-im/swift/swift-9999.ebuild

@ -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…
Cancel
Save