mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 14:54:29 +01:00
qrencode: fix build on x86_64-darwin
This commit is contained in:
parent
9b61ff349a
commit
24addef4ae
2 changed files with 5 additions and 3 deletions
|
@ -1,4 +1,4 @@
|
|||
{ lib, stdenv, fetchurl, pkg-config, SDL2, libpng, libiconv }:
|
||||
{ lib, stdenv, fetchurl, pkg-config, SDL2, libpng, libiconv, libobjc }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "qrencode";
|
||||
|
@ -12,7 +12,7 @@ stdenv.mkDerivation rec {
|
|||
};
|
||||
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
buildInputs = [ SDL2 libpng ] ++ lib.optionals stdenv.isDarwin [ libiconv ];
|
||||
buildInputs = [ SDL2 libpng ] ++ lib.optionals stdenv.isDarwin [ libiconv libobjc ];
|
||||
|
||||
configureFlags = [
|
||||
"--with-tests"
|
||||
|
|
|
@ -28569,7 +28569,9 @@ with pkgs;
|
|||
|
||||
qrcodegen = callPackage ../development/libraries/qrcodegen { };
|
||||
|
||||
qrencode = callPackage ../development/libraries/qrencode { };
|
||||
qrencode = callPackage ../development/libraries/qrencode {
|
||||
inherit (darwin) libobjc;
|
||||
};
|
||||
|
||||
geeqie = callPackage ../applications/graphics/geeqie { };
|
||||
|
||||
|
|
Loading…
Reference in a new issue