link to CoreFoundation in framework builds #6104
authorBenjamin Peterson <benjamin@python.org>
Mon, 25 May 2009 13:48:17 +0000 (13:48 +0000)
committerBenjamin Peterson <benjamin@python.org>
Mon, 25 May 2009 13:48:17 +0000 (13:48 +0000)
Makefile.pre.in

index 25eb727f2be02ec9a8d7a228790c6f8e4eadbc97..02cb58629227ba55a40da0e93ae32473b48e099e 100644 (file)
@@ -462,10 +462,11 @@ $(PYTHONFRAMEWORKDIR)/Versions/$(VERSION)/$(PYTHONFRAMEWORK): \
                        -all_load $(LIBRARY) -Wl,-single_module \
                        -install_name $(DESTDIR)$(PYTHONFRAMEWORKINSTALLDIR)/Versions/$(VERSION)/$(PYTHONFRAMEWORK) \
                        -compatibility_version $(VERSION) \
-                       -current_version $(VERSION); \
+                       -current_version $(VERSION) \
+                       -framework CoreFoundation; \
         else \
                /usr/bin/libtool -o $(LDLIBRARY) -dynamic $(OTHER_LIBTOOL_OPT) $(LIBRARY) \
-                       @LIBTOOL_CRUFT@ ;\
+                       @LIBTOOL_CRUFT@ -framework CoreFoundation;\
        fi
        $(INSTALL) -d -m $(DIRMODE)  \
                $(PYTHONFRAMEWORKDIR)/Versions/$(VERSION)/Resources/English.lproj