Description: correct where ld scripts are installed
authorMatthias Klose <doko@debian.org>
Fri, 28 Feb 2020 10:18:34 +0000 (10:18 +0000)
committerMatthias Klose <doko@debian.org>
Fri, 28 Feb 2020 10:18:34 +0000 (10:18 +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 4a9b8404b7b1c1366fb867669d4900a2a3a7ae4d..d0611008e6c07582d0b19a82e7ec90b802ef7331 100644 (file)
@@ -63,7 +63,7 @@ endif
 # 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 46d9b14077924f4fc8f1f4ff5078479e41bdd670..9edbc81a4003503013fb58e4c84a5a72d46055d7 100644 (file)
@@ -572,7 +572,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