libjava.exp (libjava_init): Use the same target check for Darwin.
2005-03-11 Andreas Tobler <a.tobler@schweiz.ch> * testsuite/lib/libjava.exp (libjava_init): Use the same target check for Darwin. (libjava_arguments): Likewise. * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Likewise. (gcj_jni_test_one): Likewise. (gcj_jni_invocation_compile_c_to_binary): Likewise. Add flags to keep the Darwin linker quiet. (gcj_jni_invocation_test_one): Use the same target check for Darwin. Add -liconv for Darwin. From-SVN: r96311
This commit is contained in:
parent
f817d5d470
commit
a96cf7633a
3 changed files with 30 additions and 8 deletions
libjava/testsuite/lib
|
@ -197,8 +197,8 @@ proc libjava_init { args } {
|
|||
# Finally, add the gcc build directory so that we can find the
|
||||
# shared libgcc. This, like much of dejagnu, is hideous.
|
||||
set libjava_libgcc_s_path {}
|
||||
|
||||
if { [string match "powerpc-*-darwin*" $target_triplet] } {
|
||||
|
||||
if { [istarget "*-*-darwin*"] } {
|
||||
set so_extension "dylib"
|
||||
} else {
|
||||
set so_extension "so"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue