]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
macosx: Install a libpython2.5.a inside the framework as a symlink to the actual
authorRonald Oussoren <ronaldoussoren@mac.com>
Tue, 27 Jun 2006 15:45:32 +0000 (15:45 +0000)
committerRonald Oussoren <ronaldoussoren@mac.com>
Tue, 27 Jun 2006 15:45:32 +0000 (15:45 +0000)
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.

Makefile.pre.in

index d327352310ad6799e8586a776ec07519fdbb774a..ff6dc25efa67fdeb89615ff0b22be734ff2cd0b3 100644 (file)
@@ -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