Skip to content

Commit

Permalink
tools/nut-scanner/Makefile.am: link net-snmp statically on (MinGW) WI…
Browse files Browse the repository at this point in the history
…N32 builds
  • Loading branch information
jimklimov committed Jun 9, 2022
1 parent 6bf1e3e commit d1b8d14
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion tools/nut-scanner/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,14 @@ endif
if WITH_USB
libnutscan_la_CFLAGS += $(LIBUSB_CFLAGS)
endif
# Note: do not indent automake "if" lines
if WITH_SNMP
libnutscan_la_CFLAGS += $(LIBNETSNMP_CFLAGS)
endif
if HAVE_WINDOWS
# MinGW builds of libnetsnmp are static-only, so we link it in:
libnutscan_la_LIBADD += $(LIBNETSNMP_LIBS)
endif HAVE_WINDOWS
endif WITH_SNMP
if WITH_NEON
libnutscan_la_CFLAGS += $(LIBNEON_CFLAGS)
endif
Expand Down

0 comments on commit d1b8d14

Please sign in to comment.