poppler: attempt to fix missing libiconv on non-Linux

This commit is contained in:
Vladimír Čunát
2013-06-18 12:53:19 +02:00
parent efac6d8e73
commit 53fa11cfc9
2 changed files with 4 additions and 4 deletions
@@ -1,4 +1,4 @@
{ stdenv, fetchurl, fetchgit, pkgconfig, cmake
{ stdenv, fetchurl, fetchgit, pkgconfig, cmake, libiconvOrEmpty
, zlib, curl, cairo, freetype, fontconfig, lcms2, libjpeg, openjpeg
, qt4Support ? false, qt4 ? null
}:
@@ -28,7 +28,7 @@ let
propagatedBuildInputs = [ zlib cairo freetype fontconfig libjpeg lcms2 curl openjpeg ];
nativeBuildInputs = [ pkgconfig cmake ];
nativeBuildInputs = [ pkgconfig cmake ] ++ libiconvOrEmpty;
cmakeFlags = "-DENABLE_XPDF_HEADERS=ON -DENABLE_LIBCURL=ON -DENABLE_ZLIB=ON";