1
0
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:
Michael B. Trausch 2014-09-06 21:39:40 -04:00 committed by Uwe Hermann
parent 6692d8c13f
commit da8730199a

View File

@ -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