diff options
Diffstat (limited to 'gdb/testsuite/gdb.base/solib-nodir.exp')
-rw-r--r-- | gdb/testsuite/gdb.base/solib-nodir.exp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.base/solib-nodir.exp b/gdb/testsuite/gdb.base/solib-nodir.exp index f79ceea..7f456a6 100644 --- a/gdb/testsuite/gdb.base/solib-nodir.exp +++ b/gdb/testsuite/gdb.base/solib-nodir.exp @@ -31,7 +31,7 @@ set objfile ${objdir}/${subdir}/${executable}.o set binfile ${objdir}/${subdir}/${executable} # build the first test case -if { [get_compiler_info unused] +if { [get_compiler_info] || [gdb_compile_shlib "${srcdir}/${subdir}/${srclibfile}" "${binlibfile}" [list debug ldflags=-Wl,-soname,${binlibfilebase}]] != "" || [gdb_gnu_strip_debug $binlibfile] || [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${objfile}" object {debug}] != "" |