Merge pull request #8590 from NixOS/fix-qt5-setup-hook
qt54: fix setup-hook.sh, lib/ was not populated in some cases
This commit is contained in:
commit
726b111c6c
1 changed files with 4 additions and 2 deletions
|
@ -20,9 +20,11 @@ addQtModule() {
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ -n $qtSubmodule ]] && [[ -d "$1/lib" ]]; then
|
if [[ -d "$1/lib" ]]; then
|
||||||
@lndir@/bin/lndir -silent "$1/lib" "$qtOut/lib"
|
@lndir@/bin/lndir -silent "$1/lib" "$qtOut/lib"
|
||||||
find "$1/lib" -printf 'lib/%P\n' >> "$qtOut/nix-support/qt-inputs"
|
if [[ -n $qtSubmodule ]]; then
|
||||||
|
find "$1/lib" -printf 'lib/%P\n' >> "$qtOut/nix-support/qt-inputs"
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue