ykman: add cflags for linux-only pcsc-lite dependency (#72267)

master
Michka Popoff 2021-03-02 20:30:31 +01:00 committed by GitHub
parent d579d632ec
commit 09019b21b1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

@ -74,6 +74,10 @@ class Ykman < Formula
end
def install
on_linux do
# Fixes: smartcard/scard/helpers.c:28:22: fatal error: winscard.h: No such file or directory
ENV.append "CFLAGS", "-I#{Formula["pcsc-lite"].opt_include}/PCSC"
end
virtualenv_install_with_resources
end