From: Matthias Klose Date: Sun, 30 Jan 2022 16:51:18 +0000 (+0000) Subject: Description: correct where ld scripts are installed X-Git-Tag: archive/raspbian/2.37.90.20220130-2+rpi1^2~25 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=2feb8db1ace7d00393eb860869f288dea1aeea72;p=binutils.git Description: correct where ld scripts are installed Upstream status: N/A Upstream status: N/A Date: ?? Gbp-Pq: Name 001_ld_makefile_patch.patch --- diff --git a/ld/Makefile.am b/ld/Makefile.am index b55a873d9..bfd03fe02 100644 --- a/ld/Makefile.am +++ b/ld/Makefile.am @@ -50,7 +50,7 @@ AM_CFLAGS = $(WARN_CFLAGS) $(ELF_CLFAGS) # We put the scripts in the directory $(scriptdir)/ldscripts. # We can't put the scripts in $(datadir) because the SEARCH_DIR # directives need to be different for native and cross linkers. -scriptdir = $(tooldir)/lib +scriptdir = $(libdir) EMUL = @EMUL@ EMULATION_OFILES = @EMULATION_OFILES@ diff --git a/ld/Makefile.in b/ld/Makefile.in index 5158fc85f..c1916e742 100644 --- a/ld/Makefile.in +++ b/ld/Makefile.in @@ -564,7 +564,7 @@ AM_CFLAGS = $(WARN_CFLAGS) $(ELF_CLFAGS) # We put the scripts in the directory $(scriptdir)/ldscripts. # We can't put the scripts in $(datadir) because the SEARCH_DIR # directives need to be different for native and cross linkers. -scriptdir = $(tooldir)/lib +scriptdir = $(libdir) BASEDIR = $(srcdir)/.. BFDDIR = $(BASEDIR)/bfd INCDIR = $(BASEDIR)/include