8
8
LIB_SEARCH_DIRS=`echo ${LIB_PATH} | sed -e 's/:/ /g' -e 's/\([^ ][^ ]*\)/SEARCH_DIR(\\"\1\\");/g'`
9
+if [ -n "$DEB_HOST_MULTIARCH" ]; then
9
+if [ -n "$DEB_TARGET_MULTIARCH" ]; then
11
11
+ for dir in `echo ${LIB_PATH} | sed -e 's/:/ /g'`; do
13
13
+ ${tool_lib}*|*/${target_alias}/*)
16
+ if [ -n "$DEB_HOST_MULTIARCH32" ]; then
16
+ if [ -n "$DEB_TARGET_MULTIARCH32" ]; then
17
17
+ case $EMULATION_NAME in
19
+ temp_dirs="${temp_dirs}${dir}/$DEB_HOST_MULTIARCH32 ";;
19
+ temp_dirs="${temp_dirs}${dir}/$DEB_TARGET_MULTIARCH32 ";;
21
+ temp_dirs="${temp_dirs}${dir}/$DEB_HOST_MULTIARCH "
21
+ temp_dirs="${temp_dirs}${dir}/$DEB_TARGET_MULTIARCH "
23
+ elif [ -n "$DEB_HOST_MULTIARCH64" ]; then
23
+ elif [ -n "$DEB_TARGET_MULTIARCH64" ]; then
24
24
+ case $EMULATION_NAME in
26
+ temp_dirs="${temp_dirs}${dir}/$DEB_HOST_MULTIARCH64 ";;
26
+ temp_dirs="${temp_dirs}${dir}/$DEB_TARGET_MULTIARCH64 ";;
28
+ temp_dirs="${temp_dirs}${dir}/$DEB_HOST_MULTIARCH "
28
+ temp_dirs="${temp_dirs}${dir}/$DEB_TARGET_MULTIARCH "
31
+ temp_dirs="${temp_dirs}${dir}/$DEB_HOST_MULTIARCH "
31
+ temp_dirs="${temp_dirs}${dir}/$DEB_TARGET_MULTIARCH "
35
+ if [ -n "$DEB_HOST_MULTIARCH32" ]; then
35
+ if [ -n "$DEB_TARGET_MULTIARCH32" ]; then
36
36
+ dir2=$(echo $dir | sed "s,32$,,")
37
+ temp_dirs="${temp_dirs}${dir2}/$DEB_HOST_MULTIARCH32 "
37
+ temp_dirs="${temp_dirs}${dir2}/$DEB_TARGET_MULTIARCH32 "
42
42
+ powerpc64-*-*|s390x-*-*|sparc64-*-*|x86_64-*-linux*)
43
43
+ #dir=$(echo $dir | sed "s,64$,,")
44
44
+ dir2=$(echo $dir | sed "s,64$,,")
45
+ temp_dirs="${temp_dirs}${dir2}/$DEB_HOST_MULTIARCH "
45
+ temp_dirs="${temp_dirs}${dir2}/$DEB_TARGET_MULTIARCH "
48
+ if [ -n "$DEB_HOST_MULTIARCH64" ]; then
48
+ if [ -n "$DEB_TARGET_MULTIARCH64" ]; then
49
49
+ dir2=$(echo $dir | sed "s,64$,,")
50
+ temp_dirs="${temp_dirs}${dir2}/$DEB_HOST_MULTIARCH64 "
50
+ temp_dirs="${temp_dirs}${dir2}/$DEB_TARGET_MULTIARCH64 "