1diff --git a/Makefile b/Makefile
2index 9aa7356..c5f2a87 100644
3--- a/Makefile
4+++ b/Makefile
5@@ -2,7 +2,8 @@ PROG = usb_modeswitch
6 VERS = 2.6.0
7 CC ?= gcc
8 CFLAGS += -Wall -Wno-deprecated-declarations
9-LIBS = `pkg-config --libs --cflags libusb-1.0`
10+PKG_CONFIG ?= pkg-config
11+LIBS = `$(PKG_CONFIG) --libs --cflags libusb-1.0`
12 RM = /bin/rm -f
13 OBJS = usb_modeswitch.c
14 PREFIX = $(DESTDIR)/usr