blob: f8e352228f0f3d7ba8bcbf1317113a8b2ca31da9 [file] [log] [blame]
Brad Bishop19323692019-04-05 15:28:33 -04001From fc1ff860fd88fa2d0584bd19181c880a76331a8d Mon Sep 17 00:00:00 2001
Brad Bishop6e60e8b2018-02-01 10:27:11 -05002From: Khem Raj <raj.khem@gmail.com>
3Date: Mon, 2 Mar 2015 01:09:58 +0000
4Subject: [PATCH 04/15] Point scripts location to libdir
5
6Upstream-Status: Inappropriate [debian patch]
7
8Signed-off-by: Khem Raj <raj.khem@gmail.com>
9---
10 ld/Makefile.am | 2 +-
11 ld/Makefile.in | 2 +-
12 2 files changed, 2 insertions(+), 2 deletions(-)
13
14diff --git a/ld/Makefile.am b/ld/Makefile.am
Brad Bishop19323692019-04-05 15:28:33 -040015index c2c798b4fe..d7faf19271 100644
Brad Bishop6e60e8b2018-02-01 10:27:11 -050016--- a/ld/Makefile.am
17+++ b/ld/Makefile.am
18@@ -57,7 +57,7 @@ endif
19 # We put the scripts in the directory $(scriptdir)/ldscripts.
20 # We can't put the scripts in $(datadir) because the SEARCH_DIR
21 # directives need to be different for native and cross linkers.
22-scriptdir = $(tooldir)/lib
23+scriptdir = $(libdir)
24
25 EMUL = @EMUL@
26 EMULATION_OFILES = @EMULATION_OFILES@
27diff --git a/ld/Makefile.in b/ld/Makefile.in
Brad Bishop19323692019-04-05 15:28:33 -040028index fc687fc516..8b14f5236c 100644
Brad Bishop6e60e8b2018-02-01 10:27:11 -050029--- a/ld/Makefile.in
30+++ b/ld/Makefile.in
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080031@@ -563,7 +563,7 @@ AM_CFLAGS = $(WARN_CFLAGS) $(ELF_CLFAGS)
Brad Bishop6e60e8b2018-02-01 10:27:11 -050032 # We put the scripts in the directory $(scriptdir)/ldscripts.
33 # We can't put the scripts in $(datadir) because the SEARCH_DIR
34 # directives need to be different for native and cross linkers.
35-scriptdir = $(tooldir)/lib
36+scriptdir = $(libdir)
37 BASEDIR = $(srcdir)/..
38 BFDDIR = $(BASEDIR)/bfd
39 INCDIR = $(BASEDIR)/include
40--
Brad Bishop19323692019-04-05 15:28:33 -0400412.20.1
Brad Bishop6e60e8b2018-02-01 10:27:11 -050042