packages/utils/nut/patches/001-fix-missing-libmath-flags.patch

12 lines
457 B
Diff
Raw Normal View History

--- nut-2.6.3.orig/drivers/Makefile.am 2011-12-05 16:36:46.000000000
0100
+++ nut-2.6.3/drivers/Makefile.am 2012-04-19 10:51:52.152059206 +0200
@@ -165,7 +165,7 @@
tripplite_usb_LDADD = $(LDADD_DRIVERS) $(LIBUSB_LIBS) -lm
bcmxcp_usb_SOURCES = bcmxcp_usb.c bcmxcp.c usb-common.c
-bcmxcp_usb_LDADD = $(LDADD_DRIVERS) $(LIBUSB_LIBS)
+bcmxcp_usb_LDADD = $(LDADD_DRIVERS) $(LIBUSB_LIBS) -lm
blazer_usb_SOURCES = blazer.c blazer_usb.c libusb.c usb-common.c