Merge pull request #53266 from marsam/fix-qrencode-darwin

qrencode: fix darwin build
This commit is contained in:
markuskowa 2019-01-03 19:29:35 +01:00 committed by GitHub
commit 82c329eaa9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,4 +1,4 @@
{ stdenv, fetchurl, pkgconfig, SDL2, libpng }:
{ stdenv, fetchurl, pkgconfig, SDL2, libpng, libiconv }:
stdenv.mkDerivation rec {
pname = "qrencode";
@ -12,7 +12,7 @@ stdenv.mkDerivation rec {
};
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ SDL2 libpng ];
buildInputs = [ SDL2 libpng ] ++ stdenv.lib.optionals stdenv.isDarwin [ libiconv ];
configureFlags = [
"--with-tests"