summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile.flags.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.flags.am b/Makefile.flags.am
index c6c4844..8a1d383 100644
--- a/Makefile.flags.am
+++ b/Makefile.flags.am
@@ -8,7 +8,7 @@ AM_LDFLAGS = -mno-cygwin
AM_CFLAGS += -mno-cygwin
else
if HAVE_LIBUSB
-AM_LDFLAGS = -lusb
+LIBS += -lusb
AM_CFLAGS += -DHAVE_LIBUSB
endif
endif
personal git repositories of Harald Welte. Your mileage may vary