--- perl-5.10.0/Makefile.SH.orig 2008-01-09 21:37:11.870736307 +0000 +++ perl-5.10.0/Makefile.SH 2008-01-09 22:47:51.579350787 +0000 @@ -124,7 +124,7 @@ # INSTALL file, under "Building a shared perl library". # If there is no pre-existing $libperl, we don't need # to do anything further. - if test -f $archlib/CORE/$libperl; then +# if test -f $archlib/CORE/$libperl; then rm -f preload cat <<'EOT' > preload #! /bin/sh @@ -135,7 +135,7 @@ EOT chmod 755 preload ldlibpth="$ldlibpth `pwd`/preload `pwd`/$libperl" - fi +# fi ;; os390) test -f /bin/env && ldlibpth="/bin/env $ldlibpth" ;; @@ -581,14 +581,16 @@ Makefile: $Makefile_s !GROK!THIS! else - $spitshell >>Makefile <<'!NO!SUBS!' -$(LIBPERL): $& $(obj) $(DYNALOADER) $(LIBPERLEXPORT) + $spitshell >>Makefile <>Makefile <<'!NO!SUBS!' - rm -f $@ - $(LD) -o $@ $(SHRPLDFLAGS) $(obj) $(DYNALOADER) $(libs) + rm -f $@ $(LIBPERL_SONAME) + $(LD) -o $(LIBPERL_SONAME) $(SHRPLDFLAGS) -Wl,-soname,$(LIBPERL_SONAME) $(SHRPLDFLAGS) $(obj) $(DYNALOADER) $(libs) + ln -s $(LIBPERL_SONAME) $@ !NO!SUBS! case "$osname" in aix)