summaryrefslogtreecommitdiff
blob: 6b9bd5afa4fa6cb83b06bae072e686a9ab2da885 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
diff -u dfu-programmer-0.5.4.ORIG/configure.ac dfu-programmer-0.5.4/configure.ac
--- dfu-programmer-0.5.4.ORIG/configure.ac	2012-11-15 11:54:24.938577990 +0000
+++ dfu-programmer-0.5.4/configure.ac	2012-11-15 11:55:47.730575031 +0000
@@ -27,7 +27,7 @@
   PKG_CHECK_MODULES(LIBUSB_1_0, [ libusb-1.0 >= 1.0.0 ], have_libusb_1_0=yes, have_libusb_1_0=no)
   if test "$have_libusb_1_0" = "yes"; then
     CFLAGS="$CFLAGS $LIBUSB_1_0_CFLAGS"
-    LDFLAGS="$LDFLAGS $LIBUSB_1_0_LIBS"
+    LIBS="$LIBS $LIBUSB_1_0_LIBS"
     HAVE_USB=yes
   fi
 fi