Tru64: -Uusedl: lib/ExtUtils/t/Embed.t
authorJarkko Hietaniemi <jhi@iki.fi>
Mon, 23 Jan 2006 20:34:18 +0000 (22:34 +0200)
committerSteve Peters <steve@fisharerojo.org>
Mon, 23 Jan 2006 18:40:08 +0000 (18:40 +0000)
Message-ID: <43D521AA.7030008@gmail.com>

p4raw-id: //depot/perl@26930

lib/ExtUtils/t/Embed.t

index 010d05a..3f4c286 100644 (file)
@@ -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');