diff options
-rwxr-xr-x | util/find.sh | 2 | ||||
-rw-r--r-- | util/libtool.diff | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/util/find.sh b/util/find.sh index d45bea76b..4e0a04846 100755 --- a/util/find.sh +++ b/util/find.sh @@ -7,7 +7,7 @@ while [[ $# -ne 0 ]]; do if [[ $1 == /* ]]; then unset found - found=$(echo "${PKG_PATH}:" | while read -r -d ':' path; do + found=$(echo "${PKG_PATH}:" | while IFS= read -r -d : path; do if [[ -e ${path}$1 ]]; then if [[ ${found+@} ]]; then echo -n ':' diff --git a/util/libtool.diff b/util/libtool.diff index 59e210084..b466030ab 100644 --- a/util/libtool.diff +++ b/util/libtool.diff @@ -5,7 +5,7 @@ continue ;; - *.la) lib="$deplib" ;; -+ *.la) lib="$("${PKG_BASE}/util/find.sh" "$deplib")" ;; ++ *.la) lib="$("${PKG_BASE}/util/find.sh" "$deplib")"; lib="${lib%%:*}" ;; *.$libext) if test "$pass" = conv; then deplibs="$deplib $deplibs" |