Description: correct where ld scripts are installed
authorMatthias Klose <doko@debian.org>
Sun, 19 Sep 2021 15:23:57 +0000 (16:23 +0100)
committerMatthias Klose <doko@debian.org>
Sun, 19 Sep 2021 15:23:57 +0000 (16:23 +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 f8e99325361a12e7c078e62512ae0d16783f8afe..7332049445ea1cc7fc510d6308a227eb8c72b32a 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 ef2e99e08da73518f8c3a18e043352f342bbfbb5..7d9ad2b3579a7bbb4ee5d26637f9d8d5bf074dd0 100644 (file)
@@ -562,7 +562,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