From a09165eeb9c4dd8bcabf7da7fba8d1d52d7ed256 Mon Sep 17 00:00:00 2001 From: Thomas Bernard Date: Tue, 22 Jan 2019 22:19:25 +0100 Subject: [PATCH] 3rdparty: build lua for other platform than Win32 --- 3rdparty/Makefile | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/3rdparty/Makefile b/3rdparty/Makefile index 00666e39..ff046ad1 100644 --- a/3rdparty/Makefile +++ b/3rdparty/Makefile @@ -156,6 +156,20 @@ ifdef WIN32 echo "License : http://www.lua.org/license.html" >> ../doc/README-lua.txt # extract license from readme.html awk '/BLOCKQUOTE/{flag=1-flag;next}flag' $(LUA)/doc/readme.html | grep -v '

' | tail --lines +2 >> ../doc/README-lua.txt +else +ifeq ($(PLATFORM), FreeBSD) + cd $(LUA) && $(MAKE) freebsd install INSTALL_TOP=$(PREFIX) +else +ifeq ($(PLATFORM), Darwin) + cd $(LUA) && $(MAKE) macosx install INSTALL_TOP=$(PREFIX) +else +ifeq ($(PLATFORM), Linux) + cd $(LUA) && $(MAKE) linux install INSTALL_TOP=$(PREFIX) +else + cd $(LUA) && $(MAKE) posix install INSTALL_TOP=$(PREFIX) +endif +endif +endif endif $(LUA)/.ok: archives/$(LUAARCH)