Check for shared lib support before running ld tests with -shared
[deliverable/binutils-gdb.git] / ld / testsuite / ld-elf / wrap.exp
index 4bf8faa527122cb79716b974b2090960d36c7048..4a166bedb706a7f2bc62cc0d5f6bac54d943e43e 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.03856 seconds and 4 git commands to generate.