From: Matthias Klose Date: Sun, 19 Sep 2021 15:23:57 +0000 (+0100) Subject: Description: correct where ld scripts are installed X-Git-Tag: archive/raspbian/2.37-7+rpi1^2~22 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=6ddfc2be8beef63950b255679aa7bac631e33437;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 f8e993253..733204944 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 ef2e99e08..7d9ad2b35 100644 --- a/ld/Makefile.in +++ b/ld/Makefile.in @@ -562,7 +562,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