diff options
author | Karel Kočí <cynerd@email.cz> | 2018-09-13 23:29:30 +0200 |
---|---|---|
committer | Karel Kočí <cynerd@email.cz> | 2018-09-13 23:29:30 +0200 |
commit | ebbb7e364a543e6aaf51d03b04a632bfd2ff289c (patch) | |
tree | d5719c20f0d27115be2452237b0e429a7dbc9392 | |
parent | 0860c7fbcbf43fcfe7f8f89035b2732a9968c1e2 (diff) | |
download | gentoo-personal-overlay-ebbb7e364a543e6aaf51d03b04a632bfd2ff289c.tar.gz gentoo-personal-overlay-ebbb7e364a543e6aaf51d03b04a632bfd2ff289c.tar.bz2 gentoo-personal-overlay-ebbb7e364a543e6aaf51d03b04a632bfd2ff289c.zip |
dev-lua/lua-compat: fix compilation
-rw-r--r-- | dev-lua/lua-compat/lua-compat-0.3-r3.ebuild | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/dev-lua/lua-compat/lua-compat-0.3-r3.ebuild b/dev-lua/lua-compat/lua-compat-0.3-r3.ebuild index 497685c..9ba5737 100644 --- a/dev-lua/lua-compat/lua-compat-0.3-r3.ebuild +++ b/dev-lua/lua-compat/lua-compat-0.3-r3.ebuild @@ -22,7 +22,8 @@ S="${WORKDIR}/lua-compat-5.2-0.3" src_compile() { if use bit32; then - $(tc-getCC) ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} -fPIC -shared \ + $(tc-getCC) $($(tc-getBUILD_PKG_CONFIG) --cflags --libs lua5.1) \ + ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} -fPIC -shared \ -I c-api -o bit32.so lbitlib.c || die fi } |