From: Steven Barth Date: Mon, 10 Aug 2009 09:16:32 +0000 (+0000) Subject: luanet doesn't compile on Darwin X-Git-Tag: 0.10.0~1212 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=fdef7c57b1ad8955add04fbfb4505d488f51d46d;p=oweals%2Fluci.git luanet doesn't compile on Darwin --- diff --git a/libs/luanet/Makefile b/libs/luanet/Makefile index 702f866b0..96ec9607f 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