diff options
Diffstat (limited to 'libgomp/testsuite/libgomp.fortran/fortran.exp')
-rw-r--r-- | libgomp/testsuite/libgomp.fortran/fortran.exp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/libgomp/testsuite/libgomp.fortran/fortran.exp b/libgomp/testsuite/libgomp.fortran/fortran.exp index a1042d1f351..3d6615ffee7 100644 --- a/libgomp/testsuite/libgomp.fortran/fortran.exp +++ b/libgomp/testsuite/libgomp.fortran/fortran.exp @@ -26,10 +26,12 @@ if { $lang_test_file_found } { # Gather a list of all tests. set tests [lsort [find $srcdir/$subdir *.\[fF\]{,90,95,03,08}]] - set ld_library_path $always_ld_library_path if { $blddir != "" } { - add_path ld_library_path "${blddir}/${lang_library_path}" + set ld_library_path "$always_ld_library_path:${blddir}/${lang_library_path}" + } else { + set ld_library_path "$always_ld_library_path" } + append ld_library_path [gcc-set-multilib-library-path $GCC_UNDER_TEST] set_ld_library_path_env_vars # Main loop. |