]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - gcc/testsuite/lib/g++.exp
re PR other/18138 (libgcc_s.so.1 not found by 64-bit testsuite)
[thirdparty/gcc.git] / gcc / testsuite / lib / g++.exp
index b863785ee38effc1f3f424e4f4c4b543aac79951..22fb5d7608c58335db79dde1387a865b56594104 100644 (file)
@@ -138,7 +138,7 @@ proc g++_link_flags { paths } {
          if { "$mldir" == "." } {
            continue
          }
-         if { [llength [glob -nocomplain ${rootme}/${mldir}/libgcc_s*.so.*]] == 1 } {
+         if { [llength [glob -nocomplain ${rootme}/${mldir}/libgcc_s*.so.*]] >= 1 } {
            append ld_library_path ":${rootme}/${mldir}"
          }
        }