Description: Use multiarch library search directories in ldscripts The ldscripts of course control the linking of *target-architecture* binary objects, so we need to search for libraries in the target architecture's library path. From: "P. J. McDermott" diff -Naur src.orig/ld/genscripts.sh src/ld/genscripts.sh --- src.orig/ld/genscripts.sh 2010-12-15 09:56:37.000000000 -0500 +++ src/ld/genscripts.sh 2012-11-11 05:23:39.143135998 -0500 @@ -242,6 +242,7 @@ fi LIB_SEARCH_DIRS=`echo ${LIB_PATH} | sed -e 's/:/ /g' -e 's/\([^ ][^ ]*\)/SEARCH_DIR(\\"\1\\");/g'` +LIB_SEARCH_DIRS="${LIB_SEARCH_DIRS}SEARCH_DIR(\"${OPK_TARGET_ARCH}\");" # We need it for testsuite. set $EMULATION_LIBPATH