summaryrefslogtreecommitdiff
path: root/src/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'src/Makefile.am')
-rw-r--r--src/Makefile.am4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index d575fbde..4cfabb39 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -44,8 +44,12 @@ endif
if USBPROG
LIBUSB = -lusb
else
+if JLINK
+LIBUSB = -lusb
+else
LIBUSB =
endif
+endif
if IS_WIN32
if FTD2XXDIR