From 143f5f586f73840d076a6c243197d39352b28725 Mon Sep 17 00:00:00 2001 From: Matthias Ringwald Date: Sun, 2 Aug 2015 13:49:41 +0200 Subject: [PATCH] use hardcoded path for pts tests --- test/pts/Makefile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/test/pts/Makefile b/test/pts/Makefile index 078cef020..0aaf1789f 100644 --- a/test/pts/Makefile +++ b/test/pts/Makefile @@ -18,8 +18,11 @@ VPATH += ${BTSTACK_ROOT}/platforms/posix/src VPATH += ${BTSTACK_ROOT}/platforms/libusb # use pkg-config -CFLAGS += $(shell pkg-config libusb-1.0 --cflags) -LDFLAGS += $(shell pkg-config libusb-1.0 --libs) +# CFLAGS += $(shell pkg-config libusb-1.0 --cflags) +# LDFLAGS += $(shell pkg-config libusb-1.0 --libs) +# hard coded flags for libusb in /usr/local/lib +CFLAGS += -I/usr/local/include +LDFLAGS += -L/usr/local/lib -lusb-1.0 EXAMPLES = hfp_hf_test hfp_ag_test ble_peripheral_test ble_central_test l2cap_test classic_test bnep_test hsp_ag_test hsp_hs_test