diff options
author | Ulrich Drepper <drepper@redhat.com> | 2000-09-03 16:49:49 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2000-09-03 16:49:49 +0000 |
commit | 8658ceda2f4e0f56b28b21aa5fb353cdd06eba19 (patch) | |
tree | badcae2569ad356c2bad42c9dd208ce5c06d1a97 /Makeconfig | |
parent | 5376629d4a1f720ce75a77a21a95634fcbfd173b (diff) | |
download | glibc-8658ceda2f4e0f56b28b21aa5fb353cdd06eba19.tar glibc-8658ceda2f4e0f56b28b21aa5fb353cdd06eba19.tar.gz glibc-8658ceda2f4e0f56b28b21aa5fb353cdd06eba19.tar.bz2 glibc-8658ceda2f4e0f56b28b21aa5fb353cdd06eba19.zip |
(built-program-cmd): Don't use the dynamic linker to run a binary if it is in $(tests-static).
Diffstat (limited to 'Makeconfig')
-rw-r--r-- | Makeconfig | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Makeconfig b/Makeconfig index b6df6dbfa7..a2c439e5c6 100644 --- a/Makeconfig +++ b/Makeconfig @@ -495,11 +495,15 @@ sysdep-library-path = \ $(subst $(empty) ,:,$(strip $(patsubst -Wl$(comma)-rpath-link=%, %,\ $(filter -Wl$(comma)-rpath-link=%,\ $(sysdep-LDFLAGS))))) +ifeq (,$(findstring $(notdir $(built-program-file)), $(tests-static))) run-program-prefix = $(elf-objpfx)$(rtld-installed-name) \ --library-path $(rpath-link)$(patsubst %,:%,$(sysdep-library-path)) else run-program-prefix = endif +else +run-program-prefix = +endif # Never use $(run-program-prefix) for the statically-linked %-bp test programs built-program-cmd = $(patsubst %,$(run-program-prefix),\ $(filter-out %-bp,$(built-program-file))) \ |