From patchwork Mon Sep 25 18:52:46 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bernd Kuhls X-Patchwork-Id: 818330 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=busybox.net (client-ip=140.211.166.136; helo=silver.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) 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 3y1Cs11gvFz9s7c for ; Tue, 26 Sep 2017 04:53:04 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 4EB6C2F370; Mon, 25 Sep 2017 18:52: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 pasqpkPAafi2; Mon, 25 Sep 2017 18:52:57 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id 477A12F1E4; Mon, 25 Sep 2017 18:52: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 218851CEB0E for ; Mon, 25 Sep 2017 18:52:56 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 1C06487C72 for ; Mon, 25 Sep 2017 18:52:56 +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 1LMEz+Ns4-x7 for ; Mon, 25 Sep 2017 18:52:53 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mailout02.t-online.de (mailout02.t-online.de [194.25.134.17]) by hemlock.osuosl.org (Postfix) with ESMTPS id B6AAC87C3B for ; Mon, 25 Sep 2017 18:52:53 +0000 (UTC) Received: from fwd25.aul.t-online.de (fwd25.aul.t-online.de [172.20.26.130]) by mailout02.t-online.de (Postfix) with SMTP id 3665141B22FF for ; Mon, 25 Sep 2017 20:52:51 +0200 (CEST) Received: from fli4l.lan.fli4l (SybcAGZ6whzK4Y+B5A0PDC8BYq6pPleSN7mJJSEuy9qdH68jTxsaml4kaQR7+9Dwor@[79.228.13.67]) by fwd25.t-online.de with (TLSv1:ECDHE-RSA-AES256-SHA encrypted) esmtp id 1dwYUp-1eodlo0; Mon, 25 Sep 2017 20:52:47 +0200 Received: from mahler.lan.fli4l ([192.168.1.1]:51054 helo=kuhls.lan.fli4l) by fli4l.lan.fli4l with esmtp (Exim 4.89) (envelope-from ) id 1dwYUo-0000CC-EA for buildroot@buildroot.org; Mon, 25 Sep 2017 20:52:46 +0200 From: Bernd Kuhls To: buildroot@buildroot.org Date: Mon, 25 Sep 2017 20:52:46 +0200 Message-Id: <20170925185246.20816-1-bernd.kuhls@t-online.de> X-Mailer: git-send-email 2.11.0 X-ID: SybcAGZ6whzK4Y+B5A0PDC8BYq6pPleSN7mJJSEuy9qdH68jTxsaml4kaQR7+9Dwor X-TOI-MSGID: 8274164c-be6f-4ad7-a809-146afce361e5 Subject: [Buildroot] [PATCH 1/1] package/mesa3d: disable shared/static build 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" This patch allows building mesa3d only with BR2_SHARED_LIBS enabled. Mesa3d still needs dynamic library https://git.buildroot.net/buildroot/commit/package/mesa3d?id=9c635f86d84bfc915a6dd8928f15082f302a9986 and does not allow building with BR2_SHARED_STATIC_LIBS=y https://cgit.freedesktop.org/mesa/mesa/tree/configure.ac?h=17.2#n490 Fixes https://bugs.busybox.net/show_bug.cgi?id=10326 Signed-off-by: Bernd Kuhls --- package/mesa3d/Config.in | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/package/mesa3d/Config.in b/package/mesa3d/Config.in index 787e266bdd..f58984c4da 100644 --- a/package/mesa3d/Config.in +++ b/package/mesa3d/Config.in @@ -1,7 +1,7 @@ menuconfig BR2_PACKAGE_MESA3D bool "mesa3d" depends on BR2_INSTALL_LIBSTDCPP - depends on !BR2_STATIC_LIBS + depends on BR2_SHARED_LIBS depends on BR2_TOOLCHAIN_HAS_SYNC_1 depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL select BR2_PACKAGE_LIBDRM @@ -235,7 +235,7 @@ config BR2_PACKAGE_PROVIDES_LIBGLES endif # BR2_PACKAGE_MESA3D -comment "mesa3d needs a toolchain w/ C++, NPTL, dynamic library" +comment "mesa3d needs a toolchain w/ C++, NPTL, only dynamic library" depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS_NPTL || \ - BR2_STATIC_LIBS + !BR2_SHARED_LIBS depends on BR2_TOOLCHAIN_HAS_SYNC_1