---
 eclass/autotools-utils.eclass |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/eclass/autotools-utils.eclass b/eclass/autotools-utils.eclass
index ad5ffea..8bc365d 100644
--- a/eclass/autotools-utils.eclass
+++ b/eclass/autotools-utils.eclass
@@ -146,7 +146,7 @@ remove_libtool_files() {
        debug-print-function ${FUNCNAME} "$@"
 
        local f
-       for f in $(find "${D}" -type f -name '*.la'); do
+       find "${D}" -type f -name '*.la' -print0 | while read -r -d '' f; do
                # Keep only .la files with shouldnotlink=yes - likely plugins
                local shouldnotlink=$(sed -ne '/^shouldnotlink=yes$/p' "${f}")
                if [[  "$1" == 'all' || -z ${shouldnotlink} ]]; then
-- 
1.7.6.1


Reply via email to