summaryrefslogtreecommitdiff
path: root/jpl
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>1999-09-15 03:13:08 +0000
committerGurusamy Sarathy <gsar@cpan.org>1999-09-15 03:13:08 +0000
commitcffc5690053d6816a48f194eabd36edd17bee782 (patch)
treebfe06d69f63f9f32288148a32192753eba0fca74 /jpl
parentb83c0eaa789c1e1527712ef4c3c985dde6539c3a (diff)
downloadperl-cffc5690053d6816a48f194eabd36edd17bee782.tar.gz
jpl tweak
p4raw-id: //depot/perl@4160
Diffstat (limited to 'jpl')
-rw-r--r--jpl/JNI/Makefile.PL5
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"];