We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6bf1e3e commit d1b8d14Copy full SHA for d1b8d14
tools/nut-scanner/Makefile.am
@@ -32,9 +32,14 @@ endif
32
if WITH_USB
33
libnutscan_la_CFLAGS += $(LIBUSB_CFLAGS)
34
endif
35
+# Note: do not indent automake "if" lines
36
if WITH_SNMP
37
libnutscan_la_CFLAGS += $(LIBNETSNMP_CFLAGS)
-endif
38
+if HAVE_WINDOWS
39
+ # MinGW builds of libnetsnmp are static-only, so we link it in:
40
+ libnutscan_la_LIBADD += $(LIBNETSNMP_LIBS)
41
+endif HAVE_WINDOWS
42
+endif WITH_SNMP
43
if WITH_NEON
44
libnutscan_la_CFLAGS += $(LIBNEON_CFLAGS)
45
0 commit comments