Description: correct where ld scripts are installed
authorMatthias Klose <doko@debian.org>
Tue, 25 Jan 2022 15:57:38 +0000 (15:57 +0000)
committerMatthias Klose <doko@debian.org>
Tue, 25 Jan 2022 15:57:38 +0000 (15:57 +0000)
Upstream status: N/A

Upstream status: N/A
Date: ??

Gbp-Pq: Name 001_ld_makefile_patch.patch

ld/Makefile.am
ld/Makefile.in

index b55a873d927898fefd364eb47cb265e92ffdab3a..bfd03fe022ab03bc12d100328133aa32cc317bd4 100644 (file)
@@ -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@
index 5158fc85f711d5edac6673a535550f2530693951..c1916e742ba3da37a47c9011fc23017a91ddc6e5 100644 (file)
@@ -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