aboutsummaryrefslogtreecommitdiff
path: root/externals
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2010-06-11 21:57:12 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2010-06-11 21:57:12 +0000
commita6bbe15c5b02cf086c179c385d569bc9df686ca2 (patch)
tree483e634c9f0c2b7fa530e278838a427469bc3eb1 /externals
parentdb26d1245c8066740e14f3bd7c7f225907636469 (diff)
added kludge to remove hid and pidip from Mac OS X 10.6 builds since they need Carbon which doesn't exist on 64-bit
svn path=/trunk/; revision=13642
Diffstat (limited to 'externals')
-rw-r--r--externals/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/externals/Makefile b/externals/Makefile
index 2ffb0ef4..56da005c 100644
--- a/externals/Makefile
+++ b/externals/Makefile
@@ -135,7 +135,11 @@ ifeq ($(OS_NAME),windows)
LIB_TARGETS +=
else
ifeq ($(OS_NAME),darwin)
- LIB_TARGETS += hid pdp pidip gem2pdp iem16 pdp_opengl apple
+# on Mac OS X 10.6/Snow Leopard don't build pidip and hid since they need Carbon
+ LIB_TARGETS += pdp gem2pdp iem16 pdp_opengl apple
+ ifneq ($(shell uname -r | sed 's|10\.[0-9][0-9]*\.[0-9][0-9]*|10|'),10)
+ LIB_TARGETS += hid pidip
+ endif
else
# GNU/Linux, BSD, IRIX, etc.
LIB_TARGETS += hid pdp pidip gem2pdp iem16 pdp_opengl postlude