qt56.qmakeHook: fix static library relocation

This commit is contained in:
Thomas Tuegel 2016-05-08 10:52:22 -05:00
parent 7b22cb0ed2
commit 0903faa3fb

View File

@ -58,7 +58,7 @@ _qtMultioutModuleDevs() {
if [ "z${!outputLib}" != "z${!outputDev}" ]; then
pushd "${!outputLib}"
if [ -d "lib" ]; then
find lib -name '*.a' -o -name '*.la' -o -name '*.prl' -print0 | \
find lib \( -name '*.a' -o -name '*.la' -o -name '*.prl' \) -print0 | \
while read -r -d $'\0' file; do
mkdir -p "${!outputDev}/$(dirname "$file")"
mv "${!outputLib}/$file" "${!outputDev}/$file"