]> sigrok.org Git - libserialport.git/commitdiff
windows: Add -lsetupapi when building for WIN32.
authorMichael B. Trausch <redacted>
Sun, 7 Sep 2014 01:34:03 +0000 (21:34 -0400)
committerUwe Hermann <redacted>
Sun, 7 Sep 2014 17:18:19 +0000 (19:18 +0200)
Makefile.am

index e65010d79cc185aa69c28e04e68c4cbdf5417830..33d1704440afaf0a634ec8a1a197d566c66cafa3 100644 (file)
@@ -37,6 +37,10 @@ endif
 
 libserialport_la_LIBADD = $(LIBOBJS)
 
+if WIN32
+libserialport_la_LIBADD += -lsetupapi
+endif
+
 libserialport_la_LDFLAGS = $(SP_LIB_LDFLAGS)
 
 library_includedir = $(includedir)