From f66c7834baba4bfd475223e778ca4f56ccf5f968 Mon Sep 17 00:00:00 2001 From: Frank Morgner Date: Fri, 21 Aug 2015 10:08:11 +0200 Subject: [PATCH] fixed windows cross compilation of vpcd --- virtualsmartcard/src/vpcd/Makefile.am | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/virtualsmartcard/src/vpcd/Makefile.am b/virtualsmartcard/src/vpcd/Makefile.am index cbc79d0..a560726 100644 --- a/virtualsmartcard/src/vpcd/Makefile.am +++ b/virtualsmartcard/src/vpcd/Makefile.am @@ -4,3 +4,9 @@ libvpcd_la_LDFLAGS = -no-undefined noinst_HEADERS = vpcd.h lock.h noinst_LTLIBRARIES = libvpcd.la + +if WIN32 + +libvpcd_la_LDFLAGS += -lws2_32 + +endif