diff options
author | Gurusamy Sarathy <gsar@cpan.org> | 1999-09-15 03:13:08 +0000 |
---|---|---|
committer | Gurusamy Sarathy <gsar@cpan.org> | 1999-09-15 03:13:08 +0000 |
commit | cffc5690053d6816a48f194eabd36edd17bee782 (patch) | |
tree | bfe06d69f63f9f32288148a32192753eba0fca74 /jpl | |
parent | b83c0eaa789c1e1527712ef4c3c985dde6539c3a (diff) | |
download | perl-cffc5690053d6816a48f194eabd36edd17bee782.tar.gz |
jpl tweak
p4raw-id: //depot/perl@4160
Diffstat (limited to 'jpl')
-rw-r--r-- | jpl/JNI/Makefile.PL | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/jpl/JNI/Makefile.PL b/jpl/JNI/Makefile.PL index 021970d1e5..1a54b9d82c 100644 --- a/jpl/JNI/Makefile.PL +++ b/jpl/JNI/Makefile.PL @@ -47,9 +47,7 @@ foreach (@JAVALIBS) { $INC =~ s#/#\\#g; $INC =~ s#\\$##; $CCFLAGS .= "-DWIN32 -Z7 -D_DEBUG"; - $MYEXTLIB = "$libjava " . - "$Config{installarchlib}\\CORE\\perlcore.lib " . - "$Config{installarchlib}\\CORE\\perlcapi.lib"; + $MYEXTLIB = $libjava; } elsif (/libkaffevm.so$/) { $CCFLAGS .= "-DKAFFE"; } @@ -98,6 +96,7 @@ my %Makefile = ( LINKTYPE => 'dynamic', INC => $INC, CCFLAGS => "$Config{ccflags} $CCFLAGS", + ($Config{archname} =~ /mswin32.*-object/i ? ('CAPI' => 'TRUE') : ()), ); $Makefile{LIBS} = ["$LIBPATH $LIBS"]; |