diff options
author | Dave Korn <dave.korn.cygwin@gmail.com> | 2009-04-28 15:05:56 +0000 |
---|---|---|
committer | Dave Korn <davek@gcc.gnu.org> | 2009-04-28 15:05:56 +0000 |
commit | f8abe53240b55be4d8e4880906e22e5237e43f6f (patch) | |
tree | d739b607a018d7b0f93d5f86532b812f47c26cb8 /libjava/testsuite/libjava.jvmti | |
parent | 04ef80ce924df919d1f8232dca5d0880f3e831f1 (diff) | |
download | gcc-f8abe53240b55be4d8e4880906e22e5237e43f6f.zip gcc-f8abe53240b55be4d8e4880906e22e5237e43f6f.tar.gz gcc-f8abe53240b55be4d8e4880906e22e5237e43f6f.tar.bz2 |
* testsuite/libjava.jvmti/jvmti-interp.exp
(gcj_jni_compile_c_to_so): Fix so extension to '.dll' on win32.
* testsuite/lib/libjava.exp (libjava_init): Likewise.
* testsuite/libjava.jni/jni.exp
(gcj_jni_compile_c_to_so): Likewise.
(gcj_jni_test_one): Likewise.
From-SVN: r146896
Diffstat (limited to 'libjava/testsuite/libjava.jvmti')
-rw-r--r-- | libjava/testsuite/libjava.jvmti/jvmti-interp.exp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libjava/testsuite/libjava.jvmti/jvmti-interp.exp b/libjava/testsuite/libjava.jvmti/jvmti-interp.exp index 68b1fc8..e81eda5 100644 --- a/libjava/testsuite/libjava.jvmti/jvmti-interp.exp +++ b/libjava/testsuite/libjava.jvmti/jvmti-interp.exp @@ -25,6 +25,9 @@ proc gcj_jni_compile_c_to_so {file {options {}}} { } elseif { [istarget "hppa*-hp-hpux*"] } { set so_extension "sl" set so_flag "-shared" + } elseif { [istarget "*-*-cygwin*"] || [istarget "*-*-mingw*"] } { + set so_extension "dll" + set so_flag "-shared" } else { set so_extension "so" set so_flag "-shared" |