Andrew Geissler | c5535c9 | 2023-01-27 16:10:19 -0600 | [diff] [blame^] | 1 | From a7c988d60f11c8279453c2d9edeede001cce7c9e Mon Sep 17 00:00:00 2001 |
Andrew Geissler | 7e0e3c0 | 2022-02-25 20:34:39 +0000 | [diff] [blame] | 2 | From: Khem Raj <raj.khem@gmail.com> |
| 3 | Date: Mon, 2 Mar 2015 01:09:58 +0000 |
| 4 | Subject: [PATCH] Point scripts location to libdir |
| 5 | |
| 6 | Upstream-Status: Inappropriate [debian patch] |
| 7 | |
| 8 | Signed-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 | |
| 14 | diff --git a/ld/Makefile.am b/ld/Makefile.am |
Andrew Geissler | c5535c9 | 2023-01-27 16:10:19 -0600 | [diff] [blame^] | 15 | index 0590b7055d0..c30db94ee3c 100644 |
Andrew Geissler | 7e0e3c0 | 2022-02-25 20:34:39 +0000 | [diff] [blame] | 16 | --- a/ld/Makefile.am |
| 17 | +++ b/ld/Makefile.am |
Andrew Geissler | c5535c9 | 2023-01-27 16:10:19 -0600 | [diff] [blame^] | 18 | @@ -51,7 +51,7 @@ AM_CFLAGS = $(WARN_CFLAGS) $(ELF_CLFAGS) $(JANSSON_CFLAGS) $(ZSTD_CFLAGS) |
Andrew Geissler | 7e0e3c0 | 2022-02-25 20:34:39 +0000 | [diff] [blame] | 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@ |
| 27 | diff --git a/ld/Makefile.in b/ld/Makefile.in |
Andrew Geissler | c5535c9 | 2023-01-27 16:10:19 -0600 | [diff] [blame^] | 28 | index 70643b1ce46..0405028e02f 100644 |
Andrew Geissler | 7e0e3c0 | 2022-02-25 20:34:39 +0000 | [diff] [blame] | 29 | --- a/ld/Makefile.in |
| 30 | +++ b/ld/Makefile.in |
Andrew Geissler | c5535c9 | 2023-01-27 16:10:19 -0600 | [diff] [blame^] | 31 | @@ -574,7 +574,7 @@ AM_CFLAGS = $(WARN_CFLAGS) $(ELF_CLFAGS) $(JANSSON_CFLAGS) $(ZSTD_CFLAGS) |
Andrew Geissler | 7e0e3c0 | 2022-02-25 20:34:39 +0000 | [diff] [blame] | 32 | # 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 |