]> git.pld-linux.org Git - packages/perl.git/blame - perl_581-soname.patch
- reverted
[packages/perl.git] / perl_581-soname.patch
CommitLineData
3240f754 1--- perl-5.10.0/Makefile.SH.orig 2008-01-09 21:37:11.870736307 +0000
2+++ perl-5.10.0/Makefile.SH 2008-01-09 22:47:51.579350787 +0000
3@@ -124,7 +124,7 @@
383c5d2d 4 # INSTALL file, under "Building a shared perl library".
5 # If there is no pre-existing $libperl, we don't need
6 # to do anything further.
7- if test -f $archlib/CORE/$libperl; then
8+# if test -f $archlib/CORE/$libperl; then
9 rm -f preload
10 cat <<'EOT' > preload
11 #! /bin/sh
3240f754 12@@ -135,7 +135,7 @@
383c5d2d 13 EOT
14 chmod 755 preload
15 ldlibpth="$ldlibpth `pwd`/preload `pwd`/$libperl"
16- fi
17+# fi
18 ;;
19 os390) test -f /bin/env && ldlibpth="/bin/env $ldlibpth"
20 ;;
3240f754 21@@ -581,14 +581,16 @@
22 Makefile: $Makefile_s
23 !GROK!THIS!
24 else
25- $spitshell >>Makefile <<'!NO!SUBS!'
d130bedd 26-$(LIBPERL): $& $(obj) $(DYNALOADER) $(LIBPERLEXPORT)
3240f754 27+ $spitshell >>Makefile <<!NO!SUBS!
f3a7751c 28+LIBPERL_SONAME=\$(LIBPERL).$version
d130bedd 29+\$(LIBPERL): \$& \$(obj) \$(DYNALOADER) \$(LIBPERLEXPORT)
f3a7751c 30 !NO!SUBS!
31 case "$useshrplib" in
32 true)
3240f754 33 $spitshell >>Makefile <<'!NO!SUBS!'
d130bedd 34- rm -f $@
35- $(LD) -o $@ $(SHRPLDFLAGS) $(obj) $(DYNALOADER) $(libs)
36+ rm -f $@ $(LIBPERL_SONAME)
37+ $(LD) -o $(LIBPERL_SONAME) $(SHRPLDFLAGS) -Wl,-soname,$(LIBPERL_SONAME) $(SHRPLDFLAGS) $(obj) $(DYNALOADER) $(libs)
38+ ln -s $(LIBPERL_SONAME) $@
f3a7751c 39 !NO!SUBS!
40 case "$osname" in
41 aix)
This page took 0.889709 seconds and 4 git commands to generate.