aboutsummaryrefslogtreecommitdiffstats
path: root/testing/nut/libm.patch
diff options
context:
space:
mode:
Diffstat (limited to 'testing/nut/libm.patch')
-rw-r--r--testing/nut/libm.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/testing/nut/libm.patch b/testing/nut/libm.patch
new file mode 100644
index 0000000000..cab08ad9f2
--- /dev/null
+++ b/testing/nut/libm.patch
@@ -0,0 +1,11 @@
+--- ./drivers/Makefile.am.orig
++++ ./drivers/Makefile.am
+@@ -180,7 +180,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
+ blazer_usb_LDADD = $(LDADD_DRIVERS) $(LIBUSB_LIBS) -lm