From patchwork Tue Nov 10 17:29:34 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Johannes Stezenbach X-Patchwork-Id: 59107 Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by demeter.kernel.org (8.14.2/8.14.2) with ESMTP id nAAHTfLB029699 for ; Tue, 10 Nov 2009 17:29:42 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751605AbZKJR3f (ORCPT ); Tue, 10 Nov 2009 12:29:35 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752089AbZKJR3f (ORCPT ); Tue, 10 Nov 2009 12:29:35 -0500 Received: from bar.sig21.net ([80.81.252.164]:60578 "EHLO bar.sig21.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751557AbZKJR3e (ORCPT ); Tue, 10 Nov 2009 12:29:34 -0500 Received: from p5099b351.dip0.t-ipconnect.de ([80.153.179.81] helo=zzz.local) by bar.sig21.net with esmtpsa (TLS-1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.63) (envelope-from ) id 1N7uX9-0006Wn-BC for linux-wireless@vger.kernel.org; Tue, 10 Nov 2009 18:29:39 +0100 Received: from js by zzz.local with local (Exim 4.69) (envelope-from ) id 1N7uX8-0000wT-Lt for linux-wireless@vger.kernel.org; Tue, 10 Nov 2009 18:29:34 +0100 Date: Tue, 10 Nov 2009 18:29:34 +0100 From: Johannes Stezenbach To: linux-wireless@vger.kernel.org Subject: [PATCH] iw: use PKG_CONFIG variable consistently Message-ID: <20091110172934.GA3600@sig21.net> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.5.20 (2009-06-14) X-Spam-21-Score: -2.3 (--) X-Spam-21-Report: No, score=-2.3 required=5.0 tests=ALL_TRUSTED=-1.8, AWL=-0.459, BAYES_50=0.001 autolearn=no Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org 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=