mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-04 12:53:05 +00:00
qt55.qmakeHook: fix static library relocation
This commit is contained in:
parent
62d07ae7d4
commit
b63899c42f
@ -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