Description: correct where ld scripts are installed
authorMatthias Klose <doko@debian.org>
Fri, 9 Oct 2020 15:10:08 +0000 (16:10 +0100)
committerMatthias Klose <doko@debian.org>
Fri, 9 Oct 2020 15:10:08 +0000 (16:10 +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 02c4fc1639579dd5e58213c8d0193fbdf9bb1274..1a88965f7ca70b9731c9461f39c94bce33f3bf52 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 2fe12e14f635609e65f3dfa4d7a6cf89812fe77e..20c3bc6a0914bb0a793f1185e2f82acef77289c6 100644 (file)
@@ -555,7 +555,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