projects
/
platform
/
upstream
/
perl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
87cec68
)
AIX needs an explicit symbol export list.
author
Jarkko Hietaniemi
<jhi@iki.fi>
Mon, 29 Oct 2001 14:49:28 +0000
(14:49 +0000)
committer
Jarkko Hietaniemi
<jhi@iki.fi>
Mon, 29 Oct 2001 14:49:28 +0000
(14:49 +0000)
p4raw-id: //depot/perl@12767
lib/ExtUtils/Embed.t
patch
|
blob
|
history
diff --git
a/lib/ExtUtils/Embed.t
b/lib/ExtUtils/Embed.t
index
08c7cab
..
0cfc737
100644
(file)
--- a/
lib/ExtUtils/Embed.t
+++ b/
lib/ExtUtils/Embed.t
@@
-44,6
+44,14
@@
else {
}
push(@cmd,ldopts());
+if ($^O eq 'aix') { # AIX needs an explicit symbol export list.
+ my ($perl_exp) = grep { -f } qw(perl.exp ../perl.exp);
+ die "where is perl.exp?\n" unless defined $perl_exp;
+ for (@cmd) {
+ s!-bE:(\S+)!-bE:$perl_exp!;
+ }
+}
+
print "# @cmd"; # where is the newline coming from? ldopts()?
print "not " if system(join(' ',@cmd));
print "ok 1\n";