mirror of
git://git.gnupg.org/gnupg.git
synced 2024-12-22 10:19:57 +01:00
scd: Do not use the pcsc-wrapper.
* scd/apdu.c (NEED_PCSC_WRAPPER): Do not define. * scd/Makefile.am (libexec_PROGRAMS): Remove gnupg-pcsc-wrapper (gnupg_pcsc_wrapper_SOURCES): Remove. (gnupg_pcsc_wrapper_LDADD): Remove. (gnupg_pcsc_wrapper_CFLAGS): Remove.
This commit is contained in:
parent
5b34e347b6
commit
bc6b452129
@ -19,11 +19,7 @@
|
||||
|
||||
EXTRA_DIST = ChangeLog-2011 scdaemon-w32info.rc
|
||||
|
||||
if HAVE_W32_SYSTEM
|
||||
libexec_PROGRAMS = scdaemon
|
||||
else
|
||||
libexec_PROGRAMS = scdaemon gnupg-pcsc-wrapper
|
||||
endif
|
||||
|
||||
AM_CPPFLAGS = -I$(top_srcdir)/gl -I$(top_srcdir)/intl -I$(top_srcdir)/common
|
||||
|
||||
@ -72,6 +68,3 @@ scdaemon_LDADD = $(libcommonpth) ../gl/libgnu.a \
|
||||
# $(LIBUSB_LIBS) \
|
||||
# -lgpg-error @LIBINTL@ @DL_LIBS@
|
||||
#
|
||||
gnupg_pcsc_wrapper_SOURCES = pcsc-wrapper.c
|
||||
gnupg_pcsc_wrapper_LDADD = $(DL_LIBS)
|
||||
gnupg_pcsc_wrapper_CFLAGS =
|
||||
|
@ -66,8 +66,9 @@
|
||||
#include "ccid-driver.h"
|
||||
|
||||
/* Due to conflicting use of threading libraries we usually can't link
|
||||
against libpcsclite. Instead we use a wrapper program. */
|
||||
#ifdef USE_NPTH
|
||||
against libpcsclite if we are using Pth. Instead we use a wrapper
|
||||
program. Note that with nPth there is no need for a wrapper. */
|
||||
#ifdef USE_PTH /* Right, plain old Pth. */
|
||||
#if !defined(HAVE_W32_SYSTEM) && !defined(__CYGWIN__)
|
||||
#define NEED_PCSC_WRAPPER 1
|
||||
#endif
|
||||
|
@ -20,7 +20,8 @@
|
||||
/*
|
||||
This wrapper is required to handle problems with the libpscslite
|
||||
library. That library assumes that pthreads are used and fails
|
||||
badly if one tries to use it with a procerss using Pth.
|
||||
badly if one tries to use it with a process using Pth. Note that
|
||||
the wrapper is not required if nPth is used.
|
||||
|
||||
The operation model is pretty simple: It reads requests from stdin
|
||||
and returns the answer on stdout. There is no direct mapping to the
|
||||
|
Loading…
x
Reference in New Issue
Block a user