From d09cb4644be525a01d89cd2bb4a7fea6e0284e51 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20W=C3=A4ckerlin?= Date: Fri, 27 Aug 2010 12:28:29 +0000 Subject: [PATCH] wrong path on mac; refs #6 --- src/makefile.am | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/makefile.am b/src/makefile.am index 4ddba07..151fb91 100644 --- a/src/makefile.am +++ b/src/makefile.am @@ -7,6 +7,11 @@ include_HEADERS = pcsc.hxx cryptoki.hxx openssl.hxx cryptaux.hxx +if MAC +AM_CPPFLAGS += -I/opt/local/include -I/Library/OpenSC/include +AM_LDFLAGS = -F/System/Library/Frameworks/PCSC.framework +endif + pkcs11dir = ${includedir}/pkcs11 pkcs11_HEADERS = pkcs11/apiclient.h pkcs11/pkcs11.h pkcs11/pkcs11types.h @@ -21,10 +26,6 @@ lib_LTLIBRARIES = libcryptoki++.la libcryptoki___la_SOURCES = cryptoki.cxx cryptoki.hxx version.cxx libcryptoki___la_LIBADD = -lssl -if MAC -AM_CPPFLAGS+=-I/Library/OpenSC/include -AM_LDFLAGS=-F/System/Library/Frameworks/PCSC.framework -endif if !MINGW32 if !MAC libcryptoki___la_LIBADD += -lpcsclite