Check for shared lib support before running ld tests with -shared
[deliverable/binutils-gdb.git] / ld / testsuite / ld-elf / audit.exp
index aad5339daae3b3a53bb2282539ca99b5a0d94a7c..83ee35582e64b9048c073af38162ba4306a54e5a 100644 (file)
@@ -25,6 +25,12 @@ if ![is_elf_format] {
     return
 }
 
+# Skip targets where -shared is not supported
+
+if ![check_shared_lib_support] {
+    return
+}
+
 # Check if compiler works
 if { [which $CC] == 0 } {
     return
This page took 0.023109 seconds and 4 git commands to generate.