[Python-checkins] r77033 - in python/trunk: Makefile.pre.in Misc/NEWS

ronald.oussoren python-checkins at python.org
Thu Dec 24 15:17:20 CET 2009


Author: ronald.oussoren
Date: Thu Dec 24 15:17:19 2009
New Revision: 77033

Log:
Fix for issue #7541: python-config --ldflags doesn't pick up libpython2.5.a


Modified:
   python/trunk/Makefile.pre.in
   python/trunk/Misc/NEWS

Modified: python/trunk/Makefile.pre.in
==============================================================================
--- python/trunk/Makefile.pre.in	(original)
+++ python/trunk/Makefile.pre.in	Thu Dec 24 15:17:19 2009
@@ -1072,6 +1072,7 @@
 # install (which includes python-config) happy.
 frameworkinstallmaclib:
 	ln -fs "../../../$(PYTHONFRAMEWORK)" "$(DESTDIR)$(prefix)/lib/python$(VERSION)/config/libpython$(VERSION).a"
+	ln -fs "../../../$(PYTHONFRAMEWORK)" "$(DESTDIR)$(prefix)/lib/python$(VERSION)/config/libpython$(VERSION).dylib"
 	ln -fs "../$(PYTHONFRAMEWORK)" "$(DESTDIR)$(prefix)/lib/libpython$(VERSION).dylib"
 	cd Mac && $(MAKE) installmacsubtree DESTDIR="$(DESTDIR)"
 

Modified: python/trunk/Misc/NEWS
==============================================================================
--- python/trunk/Misc/NEWS	(original)
+++ python/trunk/Misc/NEWS	Thu Dec 24 15:17:19 2009
@@ -64,6 +64,9 @@
 
 - Switch to OpenSSL 0.9.8l on Windows.
 
+- Issue #7541: when using ``python-config`` with a framework install the compiler might
+  use the wrong library.
+
 Tests
 -----
 


More information about the Python-checkins mailing list