summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--libs/luanet/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/libs/luanet/Makefile b/libs/luanet/Makefile
index 702f866b08..96ec9607f9 100644
--- a/libs/luanet/Makefile
+++ b/libs/luanet/Makefile
@@ -7,12 +7,14 @@ include ../../build/config.mk
include ../../build/gccconfig.mk
compile:
+ifneq ($(OS),Darwin)
make -Csrc \
CFLAGS="$(CFLAGS) $(FPIC) $(LUA_CFLAGS) $(EXTRA_CFLAGS)" \
LDFLAGS="$(LDFLAGS)" \
MYLDFLAGS="$(MYLDFLAGS)"
mkdir -p dist/usr/lib/lua/
cp src/luanet.so dist/usr/lib/lua
+endif
clean: luaclean
make -Csrc clean