300-001_ld_makefile_patch.patch 777 B

12345678910111213141516171819202122
  1. --- a/ld/Makefile.am
  2. +++ b/ld/Makefile.am
  3. @@ -54,7 +54,7 @@ endif
  4. # We put the scripts in the directory $(scriptdir)/ldscripts.
  5. # We can't put the scripts in $(datadir) because the SEARCH_DIR
  6. # directives need to be different for native and cross linkers.
  7. -scriptdir = $(tooldir)/lib
  8. +scriptdir = $(libdir)
  9. EMUL = @EMUL@
  10. EMULATION_OFILES = @EMULATION_OFILES@
  11. --- a/ld/Makefile.in
  12. +++ b/ld/Makefile.in
  13. @@ -388,7 +388,7 @@ AM_CFLAGS = $(WARN_CFLAGS)
  14. # We put the scripts in the directory $(scriptdir)/ldscripts.
  15. # We can't put the scripts in $(datadir) because the SEARCH_DIR
  16. # directives need to be different for native and cross linkers.
  17. -scriptdir = $(tooldir)/lib
  18. +scriptdir = $(libdir)
  19. BASEDIR = $(srcdir)/..
  20. BFDDIR = $(BASEDIR)/bfd
  21. INCDIR = $(BASEDIR)/include