Index: bmusb-0.7.4/Makefile
===================================================================
--- bmusb-0.7.4.orig/Makefile
+++ bmusb-0.7.4/Makefile
@@ -1,5 +1,6 @@
-CXXFLAGS := -std=gnu++14 -O2 -Wall -I. -g $(shell pkg-config libusb-1.0 --cflags) -pthread
-LDFLAGS := $(shell pkg-config libusb-1.0 --libs) -pthread
+PKG_CONFIG ?= pkg-config
+CXXFLAGS := -std=gnu++14 -O2 -Wall -I. -g $(shell $(PKG_CONFIG) libusb-1.0 --cflags) -pthread
+LDFLAGS := $(shell $(PKG_CONFIG) libusb-1.0 --libs) -pthread
 AR := ar
 LN := ln
 RANLIB := ranlib
