1
0
mirror of git://sigrok.org/libserialport synced 2023-08-10 21:13:24 +03:00

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.
This commit is contained in:
Uwe Hermann 2015-04-16 00:40:49 +02:00
parent 8c6de591a5
commit 777347a6bd
2 changed files with 2 additions and 2 deletions

View File

@ -43,7 +43,7 @@ libserialport_la_LIBADD = $(LIBOBJS)
libserialport_la_LDFLAGS = $(SP_LIB_LDFLAGS) libserialport_la_LDFLAGS = $(SP_LIB_LDFLAGS)
if WIN32 if WIN32
libserialport_la_LIBADD += -lsetupapi libserialport_la_LIBADD += $(SP_LIBS)
endif endif
libserialport_la_LDFLAGS += -no-undefined libserialport_la_LDFLAGS += -no-undefined

View File

@ -101,7 +101,7 @@ mingw* | cygwin*)
AM_CONDITIONAL([WIN32], true) AM_CONDITIONAL([WIN32], true)
AM_CONDITIONAL([MACOSX], false) AM_CONDITIONAL([MACOSX], false)
AM_CONDITIONAL([FREEBSD], false) AM_CONDITIONAL([FREEBSD], false)
SP_LIBS="-lsetupapi -luuid" SP_LIBS="-lsetupapi"
;; ;;
*freebsd*) *freebsd*)
AM_CONDITIONAL([LINUX], false) AM_CONDITIONAL([LINUX], false)