aboutsummaryrefslogtreecommitdiff
path: root/elf
diff options
context:
space:
mode:
Diffstat (limited to 'elf')
-rw-r--r--elf/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/elf/Makefile b/elf/Makefile
index 5c05738..fbd7d88 100644
--- a/elf/Makefile
+++ b/elf/Makefile
@@ -973,8 +973,9 @@ ifeq (yes,$(build-shared))
tests: $(objpfx)check-textrel.out $(objpfx)check-execstack.out
all-built-dso = $(common-objpfx)libc.so \
- $(sort $(wildcard $(common-objpfx)*/lib*.so \
- $(common-objpfx)iconvdata/*.so))
+ $(filter-out $(common-objpfx)linkobj/libc.so, \
+ $(sort $(wildcard $(common-objpfx)*/lib*.so \
+ $(common-objpfx)iconvdata/*.so)))
$(objpfx)check-textrel.out: $(objpfx)check-textrel $(all-built-dso)
$(dir $<)$(notdir $<) $(filter-out $<, $^) > $@