]> git.sur5r.net Git - openocd/blobdiff - src/Makefile.am
tcl: add memory testing functions for board diagnostics
[openocd] / src / Makefile.am
index badc80dc1a410816ccf30176b1cae03d0ab4249e..3413ba953f5e39638df1bf235e261c94b429ea79 100644 (file)
@@ -12,7 +12,7 @@ SUBDIRS = \
        server \
        rtos
 
-lib_LTLIBRARIES = libopenocd.la
+noinst_LTLIBRARIES = libopenocd.la
 bin_PROGRAMS = openocd
 
 MAINFILE = main.c
@@ -75,11 +75,11 @@ endif
 
 LIBUSB =
 if USE_LIBUSB1
-LIBUSB += -lusb-1.0
+LIBUSB += $(LIBUSB1_LIBS)
 endif
 
 if USE_LIBUSB0
-LIBUSB += -lusb
+LIBUSB += $(LIBUSB0_LIBS)
 endif
 
 libopenocd_la_LIBADD = \