summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2006-01-23 22:34:18 +0200
committerSteve Peters <steve@fisharerojo.org>2006-01-23 18:40:08 +0000
commit14270b7ab71cfb66cde9903f71e422238705ea93 (patch)
treef50c958a28f40c13c65aef7047f57c3344a44f69 /lib
parent9ea6f39eafd431bd5584f346d6c0d04a820f6210 (diff)
downloadperl-14270b7ab71cfb66cde9903f71e422238705ea93.tar.gz
Tru64: -Uusedl: lib/ExtUtils/t/Embed.t
Message-ID: <43D521AA.7030008@gmail.com> p4raw-id: //depot/perl@26930
Diffstat (limited to 'lib')
-rw-r--r--lib/ExtUtils/t/Embed.t6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/ExtUtils/t/Embed.t b/lib/ExtUtils/t/Embed.t
index 010d05a827..3f4c28628c 100644
--- a/lib/ExtUtils/t/Embed.t
+++ b/lib/ExtUtils/t/Embed.t
@@ -60,6 +60,12 @@ if ($^O eq 'VMS') {
else {
push(@cmd,$cc,'-o' => $exe);
}
+ if ($^O eq 'dec_osf' && !defined $Config{usedl}) {
+ # The -non_shared is needed in case of -Uusedl or otherwise
+ # the test application will try to use libperl.so
+ # instead of libperl.a.
+ push @cmd, "-non_shared";
+ }
push(@cmd,"-I$inc",ccopts(),'embed_test.c');
if ($^O eq 'MSWin32') {
$inc = File::Spec->catdir($inc,'win32');