qt56.qmakeHook: fix static library relocation
This commit is contained in:
parent
7b22cb0ed2
commit
0903faa3fb
|
@ -58,7 +58,7 @@ _qtMultioutModuleDevs() {
|
||||||
if [ "z${!outputLib}" != "z${!outputDev}" ]; then
|
if [ "z${!outputLib}" != "z${!outputDev}" ]; then
|
||||||
pushd "${!outputLib}"
|
pushd "${!outputLib}"
|
||||||
if [ -d "lib" ]; then
|
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
|
while read -r -d $'\0' file; do
|
||||||
mkdir -p "${!outputDev}/$(dirname "$file")"
|
mkdir -p "${!outputDev}/$(dirname "$file")"
|
||||||
mv "${!outputLib}/$file" "${!outputDev}/$file"
|
mv "${!outputLib}/$file" "${!outputDev}/$file"
|
||||||
|
|
Loading…
Reference in New Issue