mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-27 06:25:23 +00:00
Fix gtk2 build
libintlOrEmpty is [], not null, when libintl isn't needed Signed-off-by: Shea Levy <shea@shealevy.com>
This commit is contained in:
parent
3b274caaac
commit
e193a4f898
@ -18,7 +18,7 @@ stdenv.mkDerivation rec {
|
||||
enableParallelBuilding = true;
|
||||
|
||||
NIX_CFLAGS_COMPILE = "-I${cairo}/include/cairo"
|
||||
+ stdenv.lib.optionalString (libintlOrEmpty != null) " -lintl";
|
||||
+ stdenv.lib.optionalString (libintlOrEmpty != []) " -lintl";
|
||||
|
||||
nativeBuildInputs = [ perl pkgconfig gettext ];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user