diff --git a/deps/lua/Makefile b/deps/lua/Makefile index c77b1c4..a97279d 100644 --- a/deps/lua/Makefile +++ b/deps/lua/Makefile @@ -26,7 +26,7 @@ MYOBJS= # == END OF USER SETTINGS -- NO NEED TO CHANGE ANYTHING BELOW THIS LINE ======= -PLATS= aix bsd c89 freebsd generic linux macosx mingw posix solaris dragonfly +PLATS= aix bsd c89 freebsd generic linux macosx mingw posix solaris dragonfly haiku LUA_A= liblua.a CORE_O= lapi.o lcode.o lctype.o ldebug.o ldo.o ldump.o lfunc.o lgc.o llex.o \ @@ -112,6 +112,10 @@ generic: $(ALL) linux: $(MAKE) $(ALL) SYSCFLAGS="-DLUA_USE_LINUX" SYSLIBS="-Wl,-E -ldl -lreadline" +haiku: + $(MAKE) $(ALL) SYSCFLAGS="-DLUA_USE_LINUX" SYSLIBS="-Wl,-E -lreadline" + + macosx: $(MAKE) $(ALL) SYSCFLAGS="-DLUA_USE_MACOSX" SYSLIBS="-lreadline" diff --git a/src/GNUmakefile.haiku b/src/GNUmakefile.haiku index d612ae9..430efa7 100644 --- a/src/GNUmakefile.haiku +++ b/src/GNUmakefile.haiku @@ -5,7 +5,7 @@ EXTRAOBJS:= strlcpy/strlcpy.o strlcpy/strlcat.o LIBTOOLIZE:= libtoolize -DEPS_LUA_TARGET:= linux +DEPS_LUA_TARGET:= haiku DEPS_JAMLIB_MAKEFILE:= Makefile.linux include GNUmakefile.common