qt: fixup from c4cac55d69
This commit was too aggressive in adding configure flags. Only qtbsea needs the -no-framework flag to work correctly. Qmake will handle everything else for us.
This commit is contained in:
parent
313d2f7d6b
commit
dcea0913e5
|
@ -16,9 +16,6 @@ let
|
||||||
optional (!debug) "-DQT_NO_DEBUG"
|
optional (!debug) "-DQT_NO_DEBUG"
|
||||||
++ lib.toList (args.NIX_CFLAGS_COMPILE or []);
|
++ lib.toList (args.NIX_CFLAGS_COMPILE or []);
|
||||||
|
|
||||||
configureFlags = [ "-no-framework" ]
|
|
||||||
++ (args.configureFlags or []);
|
|
||||||
|
|
||||||
cmakeFlags =
|
cmakeFlags =
|
||||||
(args.cmakeFlags or [])
|
(args.cmakeFlags or [])
|
||||||
++ [
|
++ [
|
||||||
|
|
|
@ -298,6 +298,7 @@ stdenv.mkDerivation {
|
||||||
"-no-fontconfig"
|
"-no-fontconfig"
|
||||||
"-qt-freetype"
|
"-qt-freetype"
|
||||||
"-qt-libpng"
|
"-qt-libpng"
|
||||||
|
"-no-framework"
|
||||||
]
|
]
|
||||||
else
|
else
|
||||||
[
|
[
|
||||||
|
|
Loading…
Reference in New Issue