mirror of
git://sigrok.org/libserialport
synced 2023-08-10 21:13:24 +03:00
windows: -no-undefined is required to make a DLL.
This commit is contained in:
parent
6692d8c13f
commit
da8730199a
@ -37,12 +37,13 @@ endif
|
||||
|
||||
libserialport_la_LIBADD = $(LIBOBJS)
|
||||
|
||||
libserialport_la_LDFLAGS = $(SP_LIB_LDFLAGS)
|
||||
|
||||
if WIN32
|
||||
libserialport_la_LIBADD += -lsetupapi
|
||||
libserialport_la_LDFLAGS += -no-undefined
|
||||
endif
|
||||
|
||||
libserialport_la_LDFLAGS = $(SP_LIB_LDFLAGS)
|
||||
|
||||
library_includedir = $(includedir)
|
||||
library_include_HEADERS = libserialport.h
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user