zbar: disable Qt assertions
Greatly decreases zbar-lib transitive closure size: assertion messages contain paths to Qt header files, causing zbar-lib to depend on qtbase-dev. The Qt specific mkDerivation normally does this automatically, but we can't use it here due to having only a small part of the project being Qt related.
This commit is contained in:
parent
4445971025
commit
18b607b71b
@ -50,6 +50,9 @@ stdenv.mkDerivation rec {
|
|||||||
qtx11extras
|
qtx11extras
|
||||||
];
|
];
|
||||||
|
|
||||||
|
# Disable assertions which include -dev QtBase file paths.
|
||||||
|
NIX_CFLAGS_COMPILE = [ "-DQT_NO_DEBUG" ];
|
||||||
|
|
||||||
configureFlags = [
|
configureFlags = [
|
||||||
"--without-python"
|
"--without-python"
|
||||||
] ++ (if enableDbus then [
|
] ++ (if enableDbus then [
|
||||||
|
Loading…
x
Reference in New Issue
Block a user