[Python-checkins] r73304 - in python/branches/py3k: Makefile.pre.in
ronald.oussoren
python-checkins at python.org
Mon Jun 8 23:04:41 CEST 2009
Author: ronald.oussoren
Date: Mon Jun 8 23:04:41 2009
New Revision: 73304
Log:
Merged revisions 73303 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r73303 | ronald.oussoren | 2009年06月08日 13:54:59 -0700 (2009年6月08日) | 11 lines
This checkin adds a symlink to the lib directory of a framework install
of Python (on OSX), and the end result of that is that the combination of
``python-config --ldflags`` and ``python-config --libs`` refers to an actually
existing location.
I've done this in preference to changing python-config to specify
'-framework Python' for linking because that doesn't work when you have multiple
versions of python installed (because '-framework Python' will always link to
the 'Current' version of the framework, without a possibility to specify a
specific version).
........
Modified:
python/branches/py3k/ (props changed)
python/branches/py3k/Makefile.pre.in
Modified: python/branches/py3k/Makefile.pre.in
==============================================================================
--- python/branches/py3k/Makefile.pre.in (original)
+++ python/branches/py3k/Makefile.pre.in Mon Jun 8 23:04:41 2009
@@ -1068,6 +1068,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/libpython$(VERSION).dylib"
# This installs the IDE, the Launcher and other apps into /Applications
frameworkinstallapps:
More information about the Python-checkins
mailing list