]> granicus.if.org Git - python/commitdiff
Install the compatibility symlink to libpython.a on OSX using 'ln -sf' instead
authorRonald Oussoren <ronaldoussoren@mac.com>
Tue, 25 Jul 2006 19:13:35 +0000 (19:13 +0000)
committerRonald Oussoren <ronaldoussoren@mac.com>
Tue, 25 Jul 2006 19:13:35 +0000 (19:13 +0000)
of 'ln -s', this avoid problems when reinstalling python.

Makefile.pre.in

index 8f05d0de499b552141fbdfe34963d36ebcc59e30..f61758c5428c3ab3735a80ccc99f7c094272c0f5 100644 (file)
@@ -935,7 +935,7 @@ frameworkinstallstructure:  $(LDLIBRARY)
 # 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"
+       ln -fs "../../../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