mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 17:03:01 +00:00
opensc: fix darwin build (#357494)
This commit is contained in:
commit
40b061a29c
@ -73,7 +73,12 @@ stdenv.mkDerivation rec {
|
||||
) "XSLTPROC=${buildPackages.libxslt}/bin/xsltproc")
|
||||
];
|
||||
|
||||
PCSC_CFLAGS = lib.optionalString withApplePCSC "-I${darwin.apple_sdk.frameworks.PCSC}/Library/Frameworks/PCSC.framework/Headers";
|
||||
PCSC_CFLAGS = lib.concatStringsSep " " (
|
||||
lib.optionals withApplePCSC [
|
||||
"-I${darwin.apple_sdk.frameworks.PCSC}/Library/Frameworks/PCSC.framework/Headers"
|
||||
"-I${lib.getDev pcsclite}/include/PCSC"
|
||||
]
|
||||
);
|
||||
|
||||
installFlags = [
|
||||
"sysconfdir=$(out)/etc"
|
||||
|
Loading…
Reference in New Issue
Block a user