Register NetBSD into the build system
This is probably not the best way. Also, I have not looked at Lua yet; it may need to be built differently than with -DLUA_USE_LINUX.
This commit is contained in:
+9
-3
@@ -31,9 +31,15 @@ else
|
||||
ifeq ($(platform),Darwin)
|
||||
LUAPLATFORM = macosx
|
||||
else
|
||||
LUALIB += -ldl
|
||||
LDLIBS += -ltermcap -lncurses
|
||||
LUAPLATFORM = linux
|
||||
ifeq ($(platform),NetBSD)
|
||||
LDLIBS += -L/usr/pkg/lib -Wl,-rpath,/usr/pkg/lib
|
||||
LDLIBS += -ltermcap -lncurses
|
||||
LUAPLATFORM = netbsd
|
||||
else
|
||||
LUALIB += -ldl
|
||||
LDLIBS += -ltermcap -lncurses
|
||||
LUAPLATFORM = linux
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user