linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] iw: use PKG_CONFIG variable consistently
@ 2009-11-10 17:29 Johannes Stezenbach
  0 siblings, 0 replies; only message in thread
From: Johannes Stezenbach @ 2009-11-10 17:29 UTC (permalink / raw)
  To: linux-wireless

Use the correct pkg-config version consistently.
Note: For quick&dirty cross compilation I used the following in .config:

PKG_CONFIG = false
NLLIBNAME = libnl-1
LIBS += -L../libnl-1.1/lib -lnl
CFLAGS += -I../libnl-1.1/include
CC := arm-linux-gcc

Signed-off-by: Johannes Stezenbach <js@sig21.net>
---

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=

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2009-11-10 17:29 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-11-10 17:29 [PATCH] iw: use PKG_CONFIG variable consistently Johannes Stezenbach

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).