1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-09-11 15:08:33 +01:00

qrencode: fix darwin build

This commit is contained in:
Mario Rodas 2019-01-02 23:33:54 -05:00
parent b0f40b7851
commit 34ea243e42
No known key found for this signature in database
GPG key ID: 325649BCA6D53027

View file

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