From patchwork Mon Sep 13 11:51:22 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michal Marek X-Patchwork-Id: 174742 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id o8DFdwRN022407 for ; Mon, 13 Sep 2010 15:40:06 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752834Ab0IMPkF (ORCPT ); Mon, 13 Sep 2010 11:40:05 -0400 Received: from cantor.suse.de ([195.135.220.2]:47073 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752804Ab0IMPkF (ORCPT ); Mon, 13 Sep 2010 11:40:05 -0400 Received: from relay2.suse.de (charybdis-ext.suse.de [195.135.221.2]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.suse.de (Postfix) with ESMTP id 1788E8D893; Mon, 13 Sep 2010 17:40:04 +0200 (CEST) Received: by sepie.suse.cz (Postfix, from userid 10020) id 2FDAE76530; Mon, 13 Sep 2010 13:51:22 +0200 (CEST) Date: Mon, 13 Sep 2010 13:51:22 +0200 From: Michal Marek To: Randy Dunlap Cc: Alexander Stein , linux-kbuild@vger.kernel.org Subject: Re: [PATCH] Fix QT4 moc, cflags libs detection on dual QT3/Qt4 systems Message-ID: <20100913115122.GA20546@sepie.suse.cz> References: <1284138074-7287-1-git-send-email-alexander.stein@informatik.tu-chemnitz.de> <20100910101032.00333be4.rdunlap@xenotime.net> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20100910101032.00333be4.rdunlap@xenotime.net> User-Agent: Mutt/1.5.20 (2009-06-14) Sender: linux-kbuild-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kbuild@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter1.kernel.org [140.211.167.41]); Mon, 13 Sep 2010 15:40:06 +0000 (UTC) diff --git a/scripts/kconfig/Makefile b/scripts/kconfig/Makefile index 996059e..3fbfe98 100644 --- a/scripts/kconfig/Makefile +++ b/scripts/kconfig/Makefile @@ -273,8 +273,8 @@ $(obj)/.tmp_qtcheck: moc="/usr/bin/moc"; \ fi; \ else \ - cflags="\$$(shell pkg-config QtCore --cflags) \$$(shell pkg-config QtGui --cflags) \$$(shell pkg-config Qt3Support --cflags)"; \ - libs="\$$(shell pkg-config QtCore --libs) \$$(shell pkg-config QtGui --libs) \$$(shell pkg-config Qt3Support --libs)"; \ + cflags="\$$(shell pkg-config QtCore QtGui Qt3Support --cflags)"; \ + libs="\$$(shell pkg-config QtCore QtGui Qt3Support --libs)"; \ binpath="\$$(shell pkg-config QtCore --variable=prefix)"; \ moc="$$binpath/bin/moc"; \ fi; \