patches/binutils/2.20/240-ld_makefile.patch
author Titus von Boxberg <titus@v9g.de>
Mon Aug 22 09:41:35 2011 +0200 (2011-08-22)
branch1.12
changeset 2636 d53c6d529923
permissions -rw-r--r--
configure: fix --with-prog=[...]

check_for didn't set variable 'where' when the path to a prog
was passed manually "(cached)".

Signed-off-by: "Titus von Boxberg" <titus@v9g.de>
(transplanted from b1be254591e7b524a0b06a2247a9331ebe0faf1d)
     1 Description: correct where ld scripts are installed
     2 Author: Chris Chimelis <chris@debian.org>
     3 
     4 --- binutils-2.16.91.0.1/ld/Makefile.am
     5 +++ binutils-2.16.91.0.1/ld/Makefile.am
     6 @@ -20,7 +20,7 @@
     7  # We put the scripts in the directory $(scriptdir)/ldscripts.
     8  # We can't put the scripts in $(datadir) because the SEARCH_DIR
     9  # directives need to be different for native and cross linkers.
    10 -scriptdir = $(tooldir)/lib
    11 +scriptdir = $(libdir)
    12  
    13  EMUL = @EMUL@
    14  EMULATION_OFILES = @EMULATION_OFILES@
    15 --- binutils-2.16.91.0.1/ld/Makefile.in
    16 +++ binutils-2.16.91.0.1/ld/Makefile.in
    17 @@ -268,7 +268,7 @@
    18  # We put the scripts in the directory $(scriptdir)/ldscripts.
    19  # We can't put the scripts in $(datadir) because the SEARCH_DIR
    20  # directives need to be different for native and cross linkers.
    21 -scriptdir = $(tooldir)/lib
    22 +scriptdir = $(libdir)
    23  BASEDIR = $(srcdir)/..
    24  BFDDIR = $(BASEDIR)/bfd
    25  INCDIR = $(BASEDIR)/include