summaryrefslogtreecommitdiff
path: root/dev-lua
diff options
context:
space:
mode:
Diffstat (limited to 'dev-lua')
-rw-r--r--dev-lua/lua-compat/lua-compat-0.3-r3.ebuild3
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
}