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

This commit is contained in:
Ronald Oussoren 2009-12-24 14:17:19 +00:00
parent 92919a66d2
commit b5afe548d4
2 changed files with 4 additions and 0 deletions

View File

@ -1072,6 +1072,7 @@ frameworkinstallstructure: $(LDLIBRARY)
# 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)"

View File

@ -64,6 +64,9 @@ Build
- 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
-----