From: Ronald Oussoren Date: Tue, 27 Jun 2006 15:45:32 +0000 (+0000) Subject: macosx: Install a libpython2.5.a inside the framework as a symlink to the actual X-Git-Tag: v2.5b2~104 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=0350f81abeab76652790d24a6f65af25b36c18f7;p=thirdparty%2FPython%2Fcpython.git 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. --- diff --git a/Makefile.pre.in b/Makefile.pre.in index d327352310ad..ff6dc25efa67 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