0004-Point-scripts-location-to-libdir.patch 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. From 2158e5bd4c6ea4db89e33d46ef25428e37bfc3a6 Mon Sep 17 00:00:00 2001
  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. Upstream-Status: Inappropriate [debian patch]
  6. Signed-off-by: Khem Raj <raj.khem@gmail.com>
  7. ---
  8. ld/Makefile.am | 2 +-
  9. ld/Makefile.in | 2 +-
  10. 2 files changed, 2 insertions(+), 2 deletions(-)
  11. diff --git a/ld/Makefile.am b/ld/Makefile.am
  12. index 29782385ca4..062e6b6814b 100644
  13. --- a/ld/Makefile.am
  14. +++ b/ld/Makefile.am
  15. @@ -51,7 +51,7 @@ AM_CFLAGS = $(WARN_CFLAGS) $(ELF_CLFAGS) $(JANSSON_CFLAGS)
  16. # We put the scripts in the directory $(scriptdir)/ldscripts.
  17. # We can't put the scripts in $(datadir) because the SEARCH_DIR
  18. # directives need to be different for native and cross linkers.
  19. -scriptdir = $(tooldir)/lib
  20. +scriptdir = $(libdir)
  21. EMUL = @EMUL@
  22. EMULATION_OFILES = @EMULATION_OFILES@
  23. diff --git a/ld/Makefile.in b/ld/Makefile.in
  24. index 04ee68a2c67..782d4017a60 100644
  25. --- a/ld/Makefile.in
  26. +++ b/ld/Makefile.in
  27. @@ -570,7 +570,7 @@ AM_CFLAGS = $(WARN_CFLAGS) $(ELF_CLFAGS) $(JANSSON_CFLAGS)
  28. # We put the scripts in the directory $(scriptdir)/ldscripts.
  29. # We can't put the scripts in $(datadir) because the SEARCH_DIR
  30. # directives need to be different for native and cross linkers.
  31. -scriptdir = $(tooldir)/lib
  32. +scriptdir = $(libdir)
  33. BASEDIR = $(srcdir)/..
  34. BFDDIR = $(BASEDIR)/bfd
  35. INCDIR = $(BASEDIR)/include