From: Matthias Klose Date: Tue, 30 Jan 2024 10:04:12 +0000 (+0100) Subject: Description: correct where ld scripts are installed X-Git-Tag: archive/raspbian/2.43.1-5+rpi1^2^2^2^2^2^2^2^2^2^2~21 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=3ba14cb1144e92b9c6730cf54e8a3c586eab62ad;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 f9ee05b14..ec9fef391 100644 --- a/ld/Makefile.am +++ b/ld/Makefile.am @@ -50,7 +50,7 @@ AM_CFLAGS = $(WARN_CFLAGS) $(ELF_CFLAGS) $(JANSSON_CFLAGS) $(ZSTD_CFLAGS) # 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 abb056571..d164f38c5 100644 --- a/ld/Makefile.in +++ b/ld/Makefile.in @@ -583,7 +583,7 @@ AM_CFLAGS = $(WARN_CFLAGS) $(ELF_CFLAGS) $(JANSSON_CFLAGS) $(ZSTD_CFLAGS) # 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