From 3a20914d6f8b4021145b641d61933eb4558b5db9 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Tue, 10 Mar 1998 22:06:31 +0000 Subject: [PATCH] Use --library-path option instead of LD_LIBRARY_PATH envvar. --- Makeconfig | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Makeconfig b/Makeconfig index b361c4f093e..a3e72de3458 100644 --- a/Makeconfig +++ b/Makeconfig @@ -1,4 +1,4 @@ -# Copyright (C) 1991, 92, 93, 94, 95, 96, 97 Free Software Foundation, Inc. +# Copyright (C) 1991, 92, 93, 94, 95, 96, 97, 98 Free Software Foundation, Inc. # This file is part of the GNU C Library. # The GNU C Library is free software; you can redistribute it and/or @@ -388,8 +388,9 @@ $(subst $(empty) ,:,$(strip $(patsubst -Wl$(comma)-rpath-link=%, %,\ $(filter -Wl$(comma)-rpath-link=%,\ $(sysdep-LDFLAGS))))) define built-program-cmd -LD_LIBRARY_PATH=$(rpath-link)$(patsubst %,:%,$(sysdep-library-path)) \ -$(elf-objpfx)$(rtld-installed-name) $(built-program-file) +$(elf-objpfx)$(rtld-installed-name) \ + --library-path $(rpath-link)$(patsubst %,:%,$(sysdep-library-path)) \ + $(built-program-file) endef endif -- 2.47.2