From c1f831425de407729c3279fcc5940b7d6718aac4 Mon Sep 17 00:00:00 2001 From: Steven Barth Date: Tue, 10 Jun 2008 22:57:56 +0000 Subject: * Fixed luaposix Makefile --- contrib/luaposix/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'contrib/luaposix') diff --git a/contrib/luaposix/Makefile b/contrib/luaposix/Makefile index 9d5790de9..ec832cc2d 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/ -- cgit v1.2.3