Browse files

Thomas Uhle: modify Makefile so configure finds the include files

of PC/SC lite.


git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@3876 c6295689-39f2-0310-b995-f0e70906c6a9
  • Loading branch information...
1 parent b2c5ab3 commit 073c9da34223aba1671a6d596b0e9de265f44006 aj committed Dec 3, 2009
Showing with 2 additions and 2 deletions.
  1. +2 −2 solaris/Makefile
View
4 solaris/Makefile
@@ -6,14 +6,14 @@ CONFIGURE_PREFIX=$(PWD:sh)/..
CONFIGURE=${CONFIGURE_PREFIX}/configure
CONFIGURE_ARGS=--prefix=/usr --sysconfdir=/etc/opensc --mandir=/usr/share/man --enable-pcsc --enable-openct
CONFIG_GUESS=${CONFIGURE_PREFIX}/config.guess
-UNAME_ARCH=/sbin/uname -p
+UNAME_ARCH=/usr/bin/uname -p
PLATFORM = $(CONFIG_GUESS:sh)
ARCH = $(UNAME_ARCH:sh)
build:
@echo "Setup platform specific build directory build-${PLATFORM}"
mkdir -p build-${PLATFORM}
- ( cd build-${PLATFORM}; CC=cc ${CONFIGURE} ${CONFIGURE_ARGS}; make )
+ ( cd build-${PLATFORM}; CC=cc PCSC_CFLAGS=-I/usr/include/smartcard ${CONFIGURE} ${CONFIGURE_ARGS}; make )
dist:
@echo "Setup platform specific dist directory dist-${PLATFORM}"

0 comments on commit 073c9da

Please sign in to comment.