]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Use --library-path option instead of LD_LIBRARY_PATH envvar.
authorUlrich Drepper <drepper@redhat.com>
Tue, 10 Mar 1998 22:06:31 +0000 (22:06 +0000)
committerUlrich Drepper <drepper@redhat.com>
Tue, 10 Mar 1998 22:06:31 +0000 (22:06 +0000)
Makeconfig

index b361c4f093ed4264f3603b5ded65f4941029c939..a3e72de3458a349df864f907b8c8721b9d66bbf8 100644 (file)
@@ -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