]> sigrok.org Git - libserialport.git/commitdiff
windows: Drop no longer needed -luuid.
authorUwe Hermann <redacted>
Wed, 15 Apr 2015 22:40:49 +0000 (00:40 +0200)
committerUwe Hermann <redacted>
Sat, 18 Apr 2015 19:54:42 +0000 (21:54 +0200)
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
configure.ac

index 18339052baca2eb3d78094fde58276b7431b67df..4656427de5caf70d950f6e92158660e5a03bb27a 100644 (file)
@@ -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
index 99c43bba5dbbfbc81c3a201a3659b71465848369..6a0152f514dbc42d4be5b1ffb9c0103d9611f4b4 100644 (file)
@@ -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)