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:
parent
8c6de591a5
commit
777347a6bd
@ -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
|
||||||
|
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user