From 777347a6bdea22744132af94f515c3c4b0d9ee41 Mon Sep 17 00:00:00 2001 From: Uwe Hermann Date: Thu, 16 Apr 2015 00:40:49 +0200 Subject: [PATCH] windows: Drop no longer needed -luuid. Also, use SP_LIBS in Makefile.am. This is build-tested using a native MinGW-w64 based toolchain as well as a MinGW-w64 based cross-compile setup. --- Makefile.am | 2 +- configure.ac | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile.am b/Makefile.am index 1833905..4656427 100644 --- a/Makefile.am +++ b/Makefile.am @@ -43,7 +43,7 @@ libserialport_la_LIBADD = $(LIBOBJS) libserialport_la_LDFLAGS = $(SP_LIB_LDFLAGS) if WIN32 -libserialport_la_LIBADD += -lsetupapi +libserialport_la_LIBADD += $(SP_LIBS) endif libserialport_la_LDFLAGS += -no-undefined diff --git a/configure.ac b/configure.ac index 99c43bb..6a0152f 100644 --- a/configure.ac +++ b/configure.ac @@ -101,7 +101,7 @@ mingw* | cygwin*) AM_CONDITIONAL([WIN32], true) AM_CONDITIONAL([MACOSX], false) AM_CONDITIONAL([FREEBSD], false) - SP_LIBS="-lsetupapi -luuid" + SP_LIBS="-lsetupapi" ;; *freebsd*) AM_CONDITIONAL([LINUX], false)