don't install libvpcd when libpcsclite is requested
libpcsclite now statically links against libvpcd. This also is fully compatible with OpenSC now, which uses dlopen/LoadLibrary for the PC/SC provider.
This commit is contained in:
@@ -1,12 +1,9 @@
|
||||
VPCD_LIB = $(LIB_PREFIX)vpcd.$(DYN_LIB_EXT)
|
||||
|
||||
libvpcd_la_SOURCES = ifd-vpcd.c vpcd.c
|
||||
libvpcd_la_LIBADD = $(PCSC_LIBS)
|
||||
libvpcd_la_LDFLAGS = -no-undefined
|
||||
libvpcd_la_CFLAGS = $(PCSC_CFLAGS)
|
||||
|
||||
lib_LTLIBRARIES = libvpcd.la
|
||||
|
||||
noinst_HEADERS = vpcd.h
|
||||
|
||||
EXTRA_DIST = reader.conf.in
|
||||
@@ -18,7 +15,21 @@ do_subst = $(SED) \
|
||||
|
||||
|
||||
if BUILD_LIBPCSCLITE
|
||||
|
||||
noinst_LTLIBRARIES = libvpcd.la
|
||||
|
||||
ifd-vpcd.c: pcsclite.h
|
||||
|
||||
.PHONY: pcsclite.h
|
||||
pcsclite.h:
|
||||
$(MAKE) -C $(builddir)/../libpcsclite pcsclite.h
|
||||
|
||||
else
|
||||
|
||||
libvpcd_la_LIBADD = $(PCSC_LIBS)
|
||||
|
||||
lib_LTLIBRARIES = libvpcd.la
|
||||
|
||||
install: install_libvpcd
|
||||
|
||||
install_libvpcd: libvpcd.la reader.conf.in
|
||||
|
||||
Reference in New Issue
Block a user