projects
/
oweals
/
luci.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a85dd8e
)
luanet doesn't compile on Darwin
author
Steven Barth
<steven@midlink.org>
Mon, 10 Aug 2009 09:16:32 +0000
(09:16 +0000)
committer
Steven Barth
<steven@midlink.org>
Mon, 10 Aug 2009 09:16:32 +0000
(09:16 +0000)
libs/luanet/Makefile
patch
|
blob
|
history
diff --git
a/libs/luanet/Makefile
b/libs/luanet/Makefile
index 702f866b08ec8d01f56c0aac48a23dd6ccbf3d27..96ec9607f91eaa5297d3b21751a97daf5b5d2559 100644
(file)
--- 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