[Spice-devel] [PATCH xf86-video-qxl] Bug fix: libcacard headers and libraries were not correctly used.

Jeremy White jwhite at codeweavers.com
Fri Oct 16 07:18:14 PDT 2015


Signed-off-by: Jeremy White <jwhite at codeweavers.com>
---
 src/spiceccid/Makefile.am | 4 ++--
 src/spiceccid/spiceccid.c | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/spiceccid/Makefile.am b/src/spiceccid/Makefile.am
index 437e992..2fbf6e0 100644
--- a/src/spiceccid/Makefile.am
+++ b/src/spiceccid/Makefile.am
@@ -19,11 +19,11 @@
 #  CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 
 
-AM_CFLAGS = $(LIBPCSCLITE_CFLAGS)
+AM_CFLAGS = $(LIBPCSCLITE_CFLAGS) $(LIBCACARD_CFLAGS)
 
 if BUILD_SPICECCID
 libspiceccid_la_LTLIBRARIES = libspiceccid.la
-libspiceccid_la_LDFLAGS     = $(LIBPCSCLITE_LDFLAGS)
+libspiceccid_la_LDFLAGS     = $(LIBPCSCLITE_LDFLAGS) $(LIBCACARD_LDFLAGS)
 libspiceccid_la_SOURCES     = spiceccid.c
 libspiceccid_ladir          = @cciddir@/
 endif
diff --git a/src/spiceccid/spiceccid.c b/src/spiceccid/spiceccid.c
index 904a98c..67af6cb 100644
--- a/src/spiceccid/spiceccid.c
+++ b/src/spiceccid/spiceccid.c
@@ -44,7 +44,7 @@
 #include <sys/socket.h>
 #include <sys/un.h>
 
-#include "cacard/vscard_common.h"
+#include "vscard_common.h"
 #include "ifdhandler.h"
 #include <arpa/inet.h>
 
-- 
2.1.4



More information about the Spice-devel mailing list