Description: correct where ld scripts are installed
authorMatthias Klose <doko@debian.org>
Fri, 18 Feb 2022 04:46:44 +0000 (04:46 +0000)
committerMatthias Klose <doko@debian.org>
Fri, 18 Feb 2022 04:46:44 +0000 (04:46 +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 61e93eeaf1eb5dec66e60ed8a75210598419220c..e3e6936f0c2abde34e7b65c60cf8b9262d4827dc 100644 (file)
@@ -563,7 +563,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