Merge pull request #239973 from wegank/qt6-full-fix

qt6.full: unlink qmake6
This commit is contained in:
Weijia Wang 2023-06-26 21:51:18 +02:00 committed by GitHub
commit c68c55ba24
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -8,8 +8,10 @@ buildEnv {
extraOutputsToInstall = [ "out" "dev" ];
postBuild = ''
rm "$out/bin/qmake"
cp "${qtbase}/bin/qmake" "$out/bin"
for f in qmake qmake6; do
rm "$out/bin/$f"
cp "${qtbase}/bin/$f" "$out/bin"
done
cat >"$out/bin/qt.conf" <<EOF
[Paths]
Prefix = $out