From ebbb7e364a543e6aaf51d03b04a632bfd2ff289c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Thu, 13 Sep 2018 23:29:30 +0200 Subject: dev-lua/lua-compat: fix compilation --- dev-lua/lua-compat/lua-compat-0.3-r3.ebuild | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'dev-lua/lua-compat/lua-compat-0.3-r3.ebuild') 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 } -- cgit v1.2.3