aboutsummaryrefslogtreecommitdiff
path: root/ld/Makefile.in
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2002-08-23 08:03:32 +0000
committerNick Clifton <nickc@redhat.com>2002-08-23 08:03:32 +0000
commit8e523c2334366c29b077a870e0cdc6606d16369e (patch)
tree1e60d751ab8e2652fce2915f9234d4a130d79ea6 /ld/Makefile.in
parentf52e0eb85221a6773158e7be348cd1b46e2553b0 (diff)
downloadgdb-8e523c2334366c29b077a870e0cdc6606d16369e.zip
gdb-8e523c2334366c29b077a870e0cdc6606d16369e.tar.gz
gdb-8e523c2334366c29b077a870e0cdc6606d16369e.tar.bz2
Add --with-lib-patch configure switch.
Diffstat (limited to 'ld/Makefile.in')
-rw-r--r--ld/Makefile.in7
1 files changed, 4 insertions, 3 deletions
diff --git a/ld/Makefile.in b/ld/Makefile.in
index 6cc09cf..886dd4f 100644
--- a/ld/Makefile.in
+++ b/ld/Makefile.in
@@ -136,8 +136,9 @@ EMUL_EXTRA_OFILES = @EMUL_EXTRA_OFILES@
# (The default is usually /lib:/usr/lib:/usr/local/lib, unless building
# a cross-linker, in which case the default is empty. See genscripts.sh.)
# Otherwise, they are replaced with the ones given in LIB_PATH,
-# which may have the form: LIB_PATH=/lib:/usr/local/lib
-LIB_PATH =
+# which may have the form: LIB_PATH=/lib:/usr/local/lib. This can be set
+# when the linker is configured via the --with-lib-path configure switch.
+LIB_PATH = @LIB_PATH@
BASEDIR = $(srcdir)/..
BFDDIR = $(BASEDIR)/bfd
@@ -463,7 +464,7 @@ POTFILES = $(CFILES) $(HFILES) $(EMULATION_FILES)
# These all start with e so 'make clean' can find them.
-GENSCRIPTS = $(SHELL) $(srcdir)/genscripts.sh ${srcdir} ${libdir} "${exec_prefix}" @host@ @target@ @target_alias@ "@EMULATION_LIBPATH@" "@NATIVE_LIB_DIRS@"
+GENSCRIPTS = LIB_PATH='${LIB_PATH}' $(SHELL) $(srcdir)/genscripts.sh ${srcdir} ${libdir} "${exec_prefix}" @host@ @target@ @target_alias@ "@EMULATION_LIBPATH@" "@NATIVE_LIB_DIRS@"
GEN_DEPENDS = $(srcdir)/genscripts.sh stringify.sed
# We need this for automake to use YLWRAP.