summaryrefslogtreecommitdiffhomepage
path: root/contrib/luaposix
diff options
context:
space:
mode:
authorSteven Barth <steven@midlink.org>2008-06-10 22:57:56 +0000
committerSteven Barth <steven@midlink.org>2008-06-10 22:57:56 +0000
commitc1f831425de407729c3279fcc5940b7d6718aac4 (patch)
treef0301c8508dff4c4b7ace7e5acb22d4cc8bd0437 /contrib/luaposix
parente92fce969458bea8a1cfdf2f9bb9813512bc7a4b (diff)
* Fixed luaposix Makefile
Diffstat (limited to 'contrib/luaposix')
-rw-r--r--contrib/luaposix/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/contrib/luaposix/Makefile b/contrib/luaposix/Makefile
index 9d5790de91..ec832cc2d7 100644
--- a/contrib/luaposix/Makefile
+++ b/contrib/luaposix/Makefile
@@ -1,4 +1,5 @@
include ../../build/config.mk
+include ../../build/gccconfig.mk
LUAPOSIX_VERSION = 5.1.2
LUAPOSIX_SITE = http://luaforge.net/frs/download.php/3063/
@@ -32,7 +33,7 @@ $(LUAPOSIX_DIR)/.patched: $(LUAPOSIX_DIR)/.prepared $(LUAPOSIX_PATCHDIR)/series
touch $@
compile: $(LUAPOSIX_DIR)/.patched
- $(MAKE) -C $(LUAPOSIX_DIR) CC=$(CC) CFLAGS="$(CFLAGS)" OS="$(OS)"
+ $(MAKE) -C $(LUAPOSIX_DIR) CC=$(CC) CFLAGS="$(CFLAGS) $(LUA_CFLAGS)" LDFLAGS="$(LDFLAGS) $(LUA_SHLIBS)" OS="$(OS)"
mkdir -p dist/usr/lib/lua
cp $(LUAPOSIX_DIR)/posix.so dist/usr/lib/lua/