From: Ben Gras Date: Sun, 28 Sep 2014 14:31:54 +0000 (+0200) Subject: build lua dynamically X-Git-Url: http://zhaoyanbai.com/repos/%22http:/www.isc.org/icons/verify-sign/verify.pl?a=commitdiff_plain;h=refs%2Fchanges%2F40%2F2840%2F1;p=minix.git build lua dynamically . allows modules to be loaded Fix submitted by Marc Balmer Change-Id: I6b2d19c2c9b136f0d72d2f714027221c0b86b5ae --- diff --git a/external/mit/lua/usr.bin/lua/Makefile b/external/mit/lua/usr.bin/lua/Makefile index 5a415d87e..71f1c1474 100644 --- a/external/mit/lua/usr.bin/lua/Makefile +++ b/external/mit/lua/usr.bin/lua/Makefile @@ -4,6 +4,12 @@ PROG= lua SRCS= lua.c BINDIR= /usr/bin +.if defined(__MINIX) +# BJG - lua has to be dynamic to allow loading modules +# Diagnosed by Marc Balmer +LDSTATIC=-dynamic +.endif # defined(__MINIX) + CPPFLAGS+= -DLUA_USE_READLINE LDADD+= -llua -lm -ledit -lterminfo