summaryrefslogtreecommitdiffstats
path: root/Makefile.pre.in
diff options
context:
space:
mode:
authorRonald Oussoren <ronaldoussoren@mac.com>2006-06-27 15:45:32 (GMT)
committerRonald Oussoren <ronaldoussoren@mac.com>2006-06-27 15:45:32 (GMT)
commit0350f81abeab76652790d24a6f65af25b36c18f7 (patch)
tree3e7539d10d798bdae4d78c68b8dc32c833b1c912 /Makefile.pre.in
parent9b8b619491144430a88c2a767e398c67ae057c5a (diff)
downloadcpython-0350f81abeab76652790d24a6f65af25b36c18f7.zip
cpython-0350f81abeab76652790d24a6f65af25b36c18f7.tar.gz
cpython-0350f81abeab76652790d24a6f65af25b36c18f7.tar.bz2
macosx: Install a libpython2.5.a inside the framework as a symlink to the actual
dylib at the root of the framework, that way tools that expect a unix-like install (python-config, but more importantly external products like mod_python) work correctly.
Diffstat (limited to 'Makefile.pre.in')
-rw-r--r--Makefile.pre.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile.pre.in b/Makefile.pre.in
index d327352..ff6dc25 100644
--- a/Makefile.pre.in
+++ b/Makefile.pre.in
@@ -931,7 +931,10 @@ frameworkinstallstructure: $(LDLIBRARY)
$(INSTALL_SHARED) $(LDLIBRARY) $(DESTDIR)$(PYTHONFRAMEWORKPREFIX)/$(LDLIBRARY)
# This installs Mac/Lib into the framework
+# Install a number of symlinks to keep software that expects a normal unix
+# install (which includes python-config) happy.
frameworkinstallmaclib:
+ ln -s "../../../Python" "$(DESTDIR)$(prefix)/lib/python$(VERSION)/config/libpython$(VERSION).a"
cd Mac && $(MAKE) installmacsubtree DESTDIR="$(DESTDIR)"
# This installs the IDE, the Launcher and other apps into /Applications