From: Peter Michael Green Date: Tue, 22 Sep 2020 18:10:17 +0000 (+0100) Subject: Description: correct where ld scripts are installed X-Git-Tag: archive/raspbian/2.35.1-1+rpi1~21 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=d48e8738826bb20af189cc6f1c05fdde3965d7dc;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 02c4fc163..1a88965f7 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 2fe12e14f..20c3bc6a0 100644 --- a/ld/Makefile.in +++ b/ld/Makefile.in @@ -555,7 +555,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