Fix for Unisys UNIX and libperl.so
authorAlan Burlison <aburlison@cix.compulink.co.uk>
Thu, 6 Mar 1997 03:28:00 +0000 (16:28 +1300)
committerChip Salzenberg <chip@atlantic.net>
Thu, 6 Mar 1997 16:01:12 +0000 (04:01 +1200)
Subject: Re: Why libperl.a instead of libperl.so in 5.003_91? - A PATCH

In-Reply-To: <memo.141901@cix.compulink.co.uk>
> On the hunt of the elusive cause of the dynamic linker errors I am
> getting in 5.003_91, I have noticed that unlike every other vesion of
> perl5 prior to 5.002 that I have built on this platform, Configure
> now builds a libperl.a instead of a libperl.so.  Why?  I also note
> that the -Kpic flag has disappeared from the cc command lines.  Why?

The following patch to Configure solves the problem.  Do I win the prize for
the smallest ever patch to Perl?

p5p-msgid: memo.147328@cix.compulink.co.uk

Configure

index dc24cf7..86733d3 100755 (executable)
--- a/Configure
+++ b/Configure
@@ -4555,7 +4555,7 @@ $undef)
        ;;
 *)     case "$useshrplib" in
        '')     case "$osname" in
-               svr4|dgux|dynixptx|esix|powerux)
+               svr4*|dgux|dynixptx|esix|powerux)
                        dflt='yes'
                        also='Building a shared libperl is required for dynamic loading to work on your system.'
                        ;;