commit 02a7d14b64ab664d7dcd68e90a6ffca076ff3da2
parent 8be9a872bfe46baf48e76c939b4076da45f1109b
Author: Michael Savage <mikejsavage@gmail.com>
Date: Sat, 1 Apr 2017 10:36:00 +0300
Merge pull request #9 from ygalblum/allow-external-uname-for-cross-compilation
Allow setting uname externally to allow cross compilation
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Makefile.mess b/Makefile.mess
@@ -4,7 +4,7 @@ ifdef LUA_INCDIR
endif
# OS detection
-uname := $(shell uname -s)
+uname ?= $(shell uname -s)
ifneq ($(uname),Darwin)
LDFLAGS += -shared