You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
45 lines
2.0 KiB
45 lines
2.0 KiB
#!/bin/sh -e |
|
# --- SDE-COPYRIGHT-NOTE-BEGIN --- |
|
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
|
# |
|
# Filename: package/.../uclibc/pkg_patch/binutils/300-001_ld_makefile_patch.patch |
|
# Copyright (C) 2006 - 2009 The OpenSDE Project |
|
# Copyright (C) 2004 - 2006 The T2 SDE Project |
|
# |
|
# More information can be found in the files COPYING and README. |
|
# |
|
# This patch file is dual-licensed. It is available under the license the |
|
# patched project is licensed under, as long as it is an OpenSource license |
|
# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms |
|
# of the GNU General Public License as published by the Free Software |
|
# Foundation; either version 2 of the License, or (at your option) any later |
|
# version. |
|
# --- SDE-COPYRIGHT-NOTE-END --- |
|
|
|
Description: correct where ld scripts are installed |
|
Original Author: Chris Chimelis <chris@debian.org> |
|
|
|
diff -ruN binutils-2.20.51.0.3-orig/ld/Makefile.am binutils-2.20.51.0.3/ld/Makefile.am |
|
--- binutils-2.20.51.0.3-orig/ld/Makefile.am 2009-11-11 17:53:31.000000000 +0100 |
|
+++ binutils-2.20.51.0.3/ld/Makefile.am 2009-12-09 11:55:15.000000000 +0100 |
|
@@ -24,7 +24,7 @@ |
|
# We put the scripts in the directory $(scriptdir)/ldscripts. |
|
# We can't put the scripts in $(datadir) because the SEARCH_DIR |
|
# directives need to be different for native and cross linkers. |
|
-scriptdir = $(tooldir)/lib |
|
+scriptdir = $(libdir) |
|
|
|
EMUL = @EMUL@ |
|
EMULATION_OFILES = @EMULATION_OFILES@ |
|
diff -ruN binutils-2.20.51.0.3-orig/ld/Makefile.in binutils-2.20.51.0.3/ld/Makefile.in |
|
--- binutils-2.20.51.0.3-orig/ld/Makefile.in 2009-11-11 17:53:31.000000000 +0100 |
|
+++ binutils-2.20.51.0.3/ld/Makefile.in 2009-12-09 11:55:43.000000000 +0100 |
|
@@ -335,7 +335,7 @@ |
|
# We put the scripts in the directory $(scriptdir)/ldscripts. |
|
# We can't put the scripts in $(datadir) because the SEARCH_DIR |
|
# directives need to be different for native and cross linkers. |
|
-scriptdir = $(tooldir)/lib |
|
+scriptdir = $(libdir) |
|
BASEDIR = $(srcdir)/.. |
|
BFDDIR = $(BASEDIR)/bfd |
|
INCDIR = $(BASEDIR)/include
|
|
|