aboutsummaryrefslogtreecommitdiff
path: root/packages/patches/darwin/darwin_jack_weak_linking-0.39.2.patch
blob: aa5b7e696ffd41a29fe74ce8e6a8c24461c83985 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
Index: configure.in
===================================================================
RCS file: /cvsroot/pure-data/pd/src/configure.in,v
retrieving revision 1.15
diff -u -w -r1.15 configure.in
--- configure.in	16 Aug 2005 04:06:28 -0000	1.15
+++ configure.in	22 Feb 2006 05:19:42 -0000
@@ -316,11 +316,11 @@
     EXTERNTARGET=pd_darwin
     if test x$jack == "xyes";
     then
-    	LDFLAGS=$LDFLAGS" -framework Jack"
+    	LDFLAGS=$LDFLAGS" -weak_framework Jack"
     fi
     if test x$jack == "xrun";
     then
-        LDFLAGS=$LDFLAGS" -framework Jack"
+        LDFLAGS=$LDFLAGS" -weak_framework Jack"
     fi
 fi
 
Index: makefile.in
===================================================================
RCS file: /cvsroot/pure-data/pd/src/makefile.in,v
retrieving revision 1.8
diff -u -w -r1.8 makefile.in
--- makefile.in	24 Jul 2005 19:41:14 -0000	1.8
+++ makefile.in	22 Feb 2006 05:19:42 -0000
@@ -1,3 +1,8 @@
+# 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>
+export MACOSX_DEPLOYMENT_TARGET = 10.3
+
 VPATH = ../obj:./
 OBJ_DIR = ../obj
 BIN_DIR = ../bin