Commit 1fbc4690 authored by David Woodhouse's avatar David Woodhouse

Make Yubikey support build on OS X

Doesn't work though; I can't get pcscd to detect either of my CCID USB
devices at all. But probably Not My Fault.
Signed-off-by: default avatarDavid Woodhouse <David.Woodhouse@intel.com>
parent 85e78634
......@@ -60,6 +60,10 @@ case $host_os in
LIBPCSCLITE_LIBS=-lwinscard
LIBPCSCLITE_CFLAGS=" "
;;
*darwin*)
LIBPCSCLITE_LIBS="-Wl,-framework -Wl,PCSC"
LIBPCSCLITE_CFLAGS=" "
;;
*)
# On FreeBSD the only way to get vsyslog() visible is to define
# *nothing*, which makes absolutely everything visible.
......
......@@ -90,8 +90,13 @@
#endif
#ifdef HAVE_LIBPCSCLITE
#ifdef __APPLE__
#include <PCSC/wintypes.h>
#include <PCSC/winscard.h>
#else
#include <winscard.h>
#endif
#endif
#ifdef ENABLE_NLS
#include <libintl.h>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment