#!/bin/sh
root=$1
-find $root/usr/lib{,64} -name "*.la" -print0 | xargs -0 grep -El "dependency_libs='.+'"
+find $root/usr/lib{,64} -name "*.la" -print0 | xargs -0 -r sed -i -e "s@dependency_libs=.*@dependency_libs=' '@"
# it's important this script does not fail if no matches found
exit 0