diff options
author | Jamie Lenehan <lenehan@twibble.org> | 2006-09-25 08:53:24 +0000 |
---|---|---|
committer | Jamie Lenehan <lenehan@twibble.org> | 2006-09-25 08:53:24 +0000 |
commit | 24f8add82d160dc484dbdf00e58044c3890246a5 (patch) | |
tree | 2c5a98d08a2083f6b87a215ee5ba452ecf87b873 /packages/perl/perl-5.8.7/config.sh-sh4-linux | |
parent | aa36784ca33f26e61215d5dc6cba5acd5515b0d8 (diff) |
perl 5.8.7: Fix the perl shared library generation for sh3/sh4
targets:
- You cannot link using LD on sh3/sh4, since ld fails to link in the
hidden library of weak symbols that is needed. Ccc knows about this
library and correctly links it in. The generate_config_sh script
was replacing the configred linker with LD from the environment and
the soname patch was passing parameters directly to LD which need
to be passed differently when linking with gcc.
- Any code to go in shared libraries must be compiled with -fPIC,
which while present in the config file was again being replaced
from the environment by the generate_config_sh script.
Both these patches probably should be ok for all targets, but they
would definately need run-time testing. So they are just patched in
for sh3 and sh4 for now.
Also removed the old code I added not to install the shared library
if its not configured since its configured for all targets after this
change.
Diffstat (limited to 'packages/perl/perl-5.8.7/config.sh-sh4-linux')
-rw-r--r-- | packages/perl/perl-5.8.7/config.sh-sh4-linux | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/perl/perl-5.8.7/config.sh-sh4-linux b/packages/perl/perl-5.8.7/config.sh-sh4-linux index bbbb12360b..ddf0ae8fcd 100644 --- a/packages/perl/perl-5.8.7/config.sh-sh4-linux +++ b/packages/perl/perl-5.8.7/config.sh-sh4-linux @@ -971,7 +971,7 @@ useperlio='define' useposix='true' usereentrant='undef' usesfio='false' -useshrplib='false' +useshrplib='true' usesitecustomize='undef' usesocks='undef' usethreads='undef' |