]> sigrok.org Git - libserialport.git/commitdiff
windows: -no-undefined is required to make a DLL.
authorMichael B. Trausch <redacted>
Sun, 7 Sep 2014 01:39:40 +0000 (21:39 -0400)
committerUwe Hermann <redacted>
Sun, 7 Sep 2014 17:18:22 +0000 (19:18 +0200)
Makefile.am

index 33d1704440afaf0a634ec8a1a197d566c66cafa3..93bd793d1ab7ac020592df94fb68b92365b0d580 100644 (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