made vpcd.c/vpcd.h windows-compatible

This commit is contained in:
Frank Morgner
2013-05-19 04:08:44 +02:00
parent fd6fdd8b01
commit bae3f07045
4 changed files with 46 additions and 8 deletions

View File

@@ -32,6 +32,10 @@ pcsc_relay_SOURCES = pcsc-relay.c pcsc.c vpcd.c vpcd-driver.c opicc.c lnfc.c $(B
pcsc_relay_LDADD = $(PCSC_LIBS) $(LIBNFC_LIBS)
pcsc_relay_CFLAGS = $(PCSC_CFLAGS) $(LIBNFC_CFLAGS)
if WIN32
pcsc_relay_LDADD += -lws2_32
endif
noinst_HEADERS = pcsc-relay.h vpcd.h
pcsc-relay.c: $(BUILT_SOURCES)