Description: correct where ld scripts are installed
authorPeter Michael Green <plugwash@raspbian.org>
Tue, 23 May 2023 02:13:28 +0000 (03:13 +0100)
committerPeter Michael Green <plugwash@raspbian.org>
Tue, 23 May 2023 02:13:28 +0000 (03:13 +0100)
Upstream status: N/A

Upstream status: N/A
Date: ??

Gbp-Pq: Name 001_ld_makefile_patch.patch

ld/Makefile.am
ld/Makefile.in

index 12b2c3c453fdbdb1fcac74bf5047bc4d0001483f..29a2cd907f5d11e6ee9ab1d90d1281b40e4504ed 100644 (file)
@@ -50,7 +50,7 @@ AM_CFLAGS = $(WARN_CFLAGS) $(ELF_CLFAGS) $(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@
index 3d5685d6bae1ce6258f053190da8d84f9eaba463..fa54bd75d815d1d17ae2c5e52845e71cdc9c7a56 100644 (file)
@@ -573,7 +573,7 @@ AM_CFLAGS = $(WARN_CFLAGS) $(ELF_CLFAGS) $(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