b.liu | e958203 | 2025-04-17 19:18:16 +0800 | [diff] [blame] | 1 | --- a/ld/Makefile.am |
| 2 | +++ b/ld/Makefile.am |
| 3 | @@ -50,7 +50,7 @@ AM_CFLAGS = $(WARN_CFLAGS) $(ELF_CLFAGS) |
| 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 | |
| 10 | EMUL = @EMUL@ |
| 11 | EMULATION_OFILES = @EMULATION_OFILES@ |
| 12 | --- a/ld/Makefile.in |
| 13 | +++ b/ld/Makefile.in |
| 14 | @@ -573,7 +573,7 @@ AM_CFLAGS = $(WARN_CFLAGS) $(ELF_CLFAGS) |
| 15 | # We put the scripts in the directory $(scriptdir)/ldscripts. |
| 16 | # We can't put the scripts in $(datadir) because the SEARCH_DIR |
| 17 | # directives need to be different for native and cross linkers. |
| 18 | -scriptdir = $(tooldir)/lib |
| 19 | +scriptdir = $(libdir) |
| 20 | BASEDIR = $(srcdir)/.. |
| 21 | BFDDIR = $(BASEDIR)/bfd |
| 22 | INCDIR = $(BASEDIR)/include |