aboutsummaryrefslogtreecommitdiff
path: root/packages/patches/macosx_deployment_target-0.40-1.patch
blob: 0aa8897193e5b46c7643d4565b49a7e337efbf9d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Index: makefile.in
===================================================================
RCS file: /cvsroot/pure-data/pd/src/makefile.in,v
retrieving revision 1.14
diff -u -w -r1.14 makefile.in
--- makefile.in	8 Sep 2006 23:45:30 -0000	1.14
+++ makefile.in	28 Dec 2006 18:54:35 -0000
@@ -1,3 +1,10 @@
+# On Mac OS X, this needs to be defined to enable dlopen and weak linking
+# support.  Its safe on other platforms since gcc only checks this env var on
+# Apple's gcc.  <hans@at.or.at>
+ifeq ($(shell uname -s),Darwin)
+export MACOSX_DEPLOYMENT_TARGET = 10.3
+endif
+
 VPATH = ../obj:./
 OBJ_DIR = ../obj
 BIN_DIR = ../bin