qt5.qmake-hook: move libs to depsTargetTargetPropagated

This commit is contained in:
Adam Joseph 2023-11-03 21:53:31 -07:00 committed by Adam Joseph
parent d4de3c18a9
commit 347a63777c

View File

@ -313,7 +313,9 @@ let
qmake = callPackage ({ qtbase }: makeSetupHook {
name = "qmake-hook";
propagatedBuildInputs = [ qtbase.dev ];
${if stdenv.buildPlatform == stdenv.hostPlatform
then "propagatedBuildInputs"
else "depsTargetTargetPropagated"} = [ qtbase.dev ];
substitutions = {
inherit debug;
fix_qmake_libtool = ../hooks/fix-qmake-libtool.sh;