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