qrencode: fix build on x86_64-darwin
This commit is contained in:
parent
9b61ff349a
commit
24addef4ae
@ -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 New Issue
Block a user