From patchwork Wed Oct 19 11:49:06 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Johan Derycke X-Patchwork-Id: 684075 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3szVpZ19NTz9t14 for ; Wed, 19 Oct 2016 22:59:02 +1100 (AEDT) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=smtpcorp.com header.i=@smtpcorp.com header.b=hpLc8XSn; dkim-atps=neutral Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id D0FA732EA8; Wed, 19 Oct 2016 11:58:59 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ILhCBe0FXEYu; Wed, 19 Oct 2016 11:58:57 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id 2690B2E484; Wed, 19 Oct 2016 11:58:57 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) by ash.osuosl.org (Postfix) with ESMTP id 0EB3B1C0AFE for ; Wed, 19 Oct 2016 11:58:55 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 0A7238A6CD for ; Wed, 19 Oct 2016 11:58:55 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id jSwJLJl1kbh5 for ; Wed, 19 Oct 2016 11:58:54 +0000 (UTC) X-Greylist: delayed 00:09:31 by SQLgrey-1.7.6 Received: from a1i930.smtp2go.com (a1i930.smtp2go.com [43.228.187.162]) by hemlock.osuosl.org (Postfix) with ESMTPS id 611EA8A668 for ; Wed, 19 Oct 2016 11:58:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=smtpcorp.com; s=a0-2; h=Feedback-ID:X-Smtpcorp-Track:Message-Id:Date: Subject:To:From:List-Unsubscribe:Reply-To; bh=iRErfEXvZLeZvciyPSFM+Mu0Is1b8M0q3fFzpWMYZ8U=; b=hpLc8XSnrD2ErVoRCA6DS/tnK5 6dXtV7uTPigJkt/j571ri4dVnHT01py8/+10+PFh6UIsA4Bw+JBcwqT+3ikrgdC+aQVzRpVh8u4sr IWkXTiBXRm00cOXD9k2FMakkA1321+KnHVsf0Abi/IFWnq/aSThaD9SBW0LWe6oceZLCSCIG5ZvRo JK22+frTLiPLzYaJnTaDijCZCUBQfmH/J92u7RRi2mNohPI3ThVew55xa7KmvVFWfUG8UF/8jdM87 NfswMCr4rgvgf2vcCnhtXetPKOJU/WbaE4is/hV1o4hoHPkvQqS7ENa4COM5Ww5nDgVMjep/73qUC i+8dNhQA==; From: johanderycke@gmail.com To: buildroot@buildroot.org Date: Wed, 19 Oct 2016 13:49:06 +0200 Message-Id: <1476877746-13572-1-git-send-email-johanderycke@gmail.com> X-Mailer: git-send-email 2.1.4 X-Smtpcorp-Track: 1PwpN29EFQok4U.Ux3UYnb_5 Feedback-ID: 228342m:228342a8H1wBx:228342sQITFRHkJ0:SMTPCORP X-Report-Abuse: Please forward a copy of this message, including all headers, to Cc: Johan Derycke Subject: [Buildroot] [PATCH V2, 1/1] Fix: qt5webkit overwrites target python. X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" From: Johan Derycke Signed-off-by: Johan Derycke Tested-by: Yegor Yefremov --- Changes v1 -> v2: - simpler fix suggested by Thomas package/qt5/qt5webkit/qt5webkit.mk | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/package/qt5/qt5webkit/qt5webkit.mk b/package/qt5/qt5webkit/qt5webkit.mk index f300c11..378cdf7 100644 --- a/package/qt5/qt5webkit/qt5webkit.mk +++ b/package/qt5/qt5webkit/qt5webkit.mk @@ -36,10 +36,10 @@ endif # QtWebkit's build system uses python, but only supports python2. We work # around this by forcing python2 early in the PATH, via a python->python2 # symlink. -QT5WEBKIT_ENV = PATH=$(@D)/bin:$(BR_PATH) +QT5WEBKIT_ENV = PATH=$(@D)/host-bin:$(BR_PATH) define QT5WEBKIT_PYTHON2_SYMLINK - mkdir -p $(@D)/bin - ln -sf $(HOST_DIR)/usr/bin/python2 $(@D)/bin/python + mkdir -p $(@D)/host-bin + ln -sf $(HOST_DIR)/usr/bin/python2 $(@D)/host-bin/python endef QT5WEBKIT_PRE_CONFIGURE_HOOKS += QT5WEBKIT_PYTHON2_SYMLINK