diff mbox

iw: use PKG_CONFIG variable consistently

Message ID 20091110172934.GA3600@sig21.net (mailing list archive)
State Not Applicable, archived
Headers show

Commit Message

Johannes Stezenbach Nov. 10, 2009, 5:29 p.m. UTC
None
diff mbox

Patch

diff --git a/Makefile b/Makefile
index 68bef4d..1174130 100644
--- a/Makefile
+++ b/Makefile
@@ -38,8 +38,8 @@  ifeq ($(NLLIBNAME),)
 $(error Cannot find development files for any supported version of libnl)
 endif
 
-LIBS += $(shell pkg-config --libs $(NLLIBNAME))
-CFLAGS += $(shell pkg-config --cflags $(NLLIBNAME))
+LIBS += $(shell $(PKG_CONFIG) --libs $(NLLIBNAME))
+CFLAGS += $(shell $(PKG_CONFIG) --cflags $(NLLIBNAME))
 
 ifeq ($(V),1)
 Q=