Merge pull request #33441 from LnL7/darwin-pcslite

pcsclite: fix darwin build
This commit is contained in:
Orivej Desh 2018-01-06 03:50:56 +00:00 committed by GitHub
commit 6320d8e21b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -20,7 +20,9 @@ stdenv.mkDerivation rec {
"--enable-confdir=/etc" "--enable-confdir=/etc"
"--enable-ipcdir=/run/pcscd" "--enable-ipcdir=/run/pcscd"
] ++ stdenv.lib.optional stdenv.isLinux ] ++ stdenv.lib.optional stdenv.isLinux
"--with-systemdsystemunitdir=\${out}/etc/systemd/system"; "--with-systemdsystemunitdir=\${out}/etc/systemd/system"
++ stdenv.lib.optional (!stdenv.isLinux)
"--disable-libsystemd";
postConfigure = '' postConfigure = ''
sed -i -re '/^#define *PCSCLITE_HP_DROPDIR */ { sed -i -re '/^#define *PCSCLITE_HP_DROPDIR */ {