aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-elf/audit.exp
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-elf/audit.exp')
-rw-r--r--ld/testsuite/ld-elf/audit.exp6
1 files changed, 6 insertions, 0 deletions
diff --git a/ld/testsuite/ld-elf/audit.exp b/ld/testsuite/ld-elf/audit.exp
index aad5339..83ee355 100644
--- a/ld/testsuite/ld-elf/audit.exp
+++ b/ld/testsuite/ld-elf/audit.exp
@@ -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