1 From d76a7549b43974fe8564971a3f40459bc495a8a7 Mon Sep 17 00:00:00 2001
2 From: Romain Naour <romain.naour@gmail.com>
3 Date: Fri, 25 Dec 2015 11:40:53 +0100
4 Subject: [PATCH] ld-makefile
6 [Romain: rebase on top of 2.26]
7 Signed-off-by: Romain Naour <romain.naour@gmail.com>
11 2 files changed, 2 insertions(+), 2 deletions(-)
13 diff --git a/ld/Makefile.am b/ld/Makefile.am
14 index 0b3b049..3871c74 100644
17 @@ -57,7 +57,7 @@ endif
18 # We put the scripts in the directory $(scriptdir)/ldscripts.
19 # We can't put the scripts in $(datadir) because the SEARCH_DIR
20 # directives need to be different for native and cross linkers.
21 -scriptdir = $(tooldir)/lib
22 +scriptdir = $(libdir)
25 EMULATION_OFILES = @EMULATION_OFILES@
26 diff --git a/ld/Makefile.in b/ld/Makefile.in
27 index ed98f87..530e4c9 100644
30 @@ -413,7 +413,7 @@ AM_CFLAGS = $(WARN_CFLAGS) $(ELF_CLFAGS)
31 # We put the scripts in the directory $(scriptdir)/ldscripts.
32 # We can't put the scripts in $(datadir) because the SEARCH_DIR
33 # directives need to be different for native and cross linkers.
34 -scriptdir = $(tooldir)/lib
35 +scriptdir = $(libdir)
36 BASEDIR = $(srcdir)/..
37 BFDDIR = $(BASEDIR)/bfd
38 INCDIR = $(BASEDIR)/include