From: Ulrich Drepper Date: Tue, 10 Mar 1998 22:06:31 +0000 (+0000) Subject: Use --library-path option instead of LD_LIBRARY_PATH envvar. X-Git-Tag: cvs/before-sparc-2_0_x-branch~93 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3a20914d6f8b4021145b641d61933eb4558b5db9;p=thirdparty%2Fglibc.git Use --library-path option instead of LD_LIBRARY_PATH envvar. --- 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