mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-15 13:37:21 +03:00
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
|
||||
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"
|
||||
|
Loading…
Reference in New Issue
Block a user