]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - libstdc++-v3/testsuite/lib/libstdc++.exp
re PR other/18138 (libgcc_s.so.1 not found by 64-bit testsuite)
[thirdparty/gcc.git] / libstdc++-v3 / testsuite / lib / libstdc++.exp
index 29ae62ed00cbaaae30ff0ee43ed2f06c91ec1236..b126ef3107a507d928fabbcd1d6d492f7391a44c 100644 (file)
@@ -159,7 +159,7 @@ proc libstdc++_init { testfile } {
         if { "$mldir" == "." } {
           continue
         }
-        if { [llength [glob -nocomplain ${gccdir}/${mldir}/libgcc_s*.so.*]] == 1 } {
+        if { [llength [glob -nocomplain ${gccdir}/${mldir}/libgcc_s*.so.*]] >= 1 } {
           append ld_library_path ":${gccdir}/${mldir}"
         }
       }