aboutsummaryrefslogtreecommitdiff
path: root/elf/Makefile
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2016-03-07 22:06:18 +0100
committerFlorian Weimer <fweimer@redhat.com>2016-03-07 22:06:18 +0100
commit920b35c92ed8f41796c090c2819434e56701da5b (patch)
tree547f2a768b3468145c0def879950bd643ab36752 /elf/Makefile
parent515b0760fa1cc7f4ec6d1e96d265105bf8481fe0 (diff)
downloadglibc-920b35c92ed8f41796c090c2819434e56701da5b.zip
glibc-920b35c92ed8f41796c090c2819434e56701da5b.tar.gz
glibc-920b35c92ed8f41796c090c2819434e56701da5b.tar.bz2
ldconfig: Do not remove stale symbolic links with -X [BZ #19610]
Diffstat (limited to 'elf/Makefile')
-rw-r--r--elf/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/elf/Makefile b/elf/Makefile
index 2aacedf..7b6d6d7 100644
--- a/elf/Makefile
+++ b/elf/Makefile
@@ -163,7 +163,8 @@ endif
endif
ifeq ($(run-built-tests),yes)
tests-special += $(objpfx)tst-leaks1-mem.out \
- $(objpfx)tst-leaks1-static-mem.out $(objpfx)noload-mem.out
+ $(objpfx)tst-leaks1-static-mem.out $(objpfx)noload-mem.out \
+ $(objpfx)tst-ldconfig-X.out
endif
tlsmod17a-suffixes = 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
tlsmod18a-suffixes = 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
@@ -1252,3 +1253,7 @@ $(objpfx)tst-prelink-cmp.out: tst-prelink.exp \
$(objpfx)tst-prelink-conflict.out
cmp $^ > $@; \
$(evaluate-test)
+
+$(objpfx)tst-ldconfig-X.out : tst-ldconfig-X.sh $(objpfx)ldconfig
+ $(SHELL) $< '$(common-objpfx)' '$(test-wrapper)' '$(test-wrapper-env)' > $@; \
+ $(evaluate-test)