projects
/
oweals
/
uci.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f06a15d
)
fix compile on snow leopard
author
Felix Fietkau
<nbd@openwrt.org>
Fri, 6 Nov 2009 08:14:58 +0000
(09:14 +0100)
committer
Felix Fietkau
<nbd@openwrt.org>
Fri, 6 Nov 2009 08:14:58 +0000
(09:14 +0100)
Makefile.inc
patch
|
blob
|
history
diff --git
a/Makefile.inc
b/Makefile.inc
index ab5eb259be56cd06f7e9c16682ef34086439d48a..59edeebb59db2a6e87ecd378a44e80a5543bf93d 100644
(file)
--- a/
Makefile.inc
+++ b/
Makefile.inc
@@
-23,6
+23,9
@@
ifeq ($(OS),Darwin)
LINK=$(LD)
SHLIB_EXT=dylib
SHLIB_FLAGS=-dylib
+ ifeq ($(shell gcc -dumpmachine),i686-apple-darwin10)
+ SHLIB_FLAGS += -arch x86_64
+ endif
else
LINK=$(CC)
SHLIB_EXT=so