binutils/binutils-2.16.1-native-lib-dirs.patch

15 lines
429 B
Diff
Raw Permalink Normal View History

diff -Nru binutils-2.16.1.orig/ld/configure.tgt binutils-2.16.1/ld/configure.tgt
--- binutils-2.16.1.orig/ld/configure.tgt 2005-08-01 18:25:53.000000000 +0200
+++ binutils-2.16.1/ld/configure.tgt 2005-08-01 18:28:12.000000000 +0200
@@ -620,6 +620,10 @@
NATIVE_LIB_DIRS='/usr/lib /usr/lib/w32api'
;;
+ppc-*-linux* | powerpc-*-linux*)
+ NATIVE_LIB_DIRS='/usr/local/lib /lib/ppc /lib /usr/lib'
+ ;;
+
*-*-linux*)
;;