From: Baruch Siach <baruch@tkos.co.il>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 1/1] package/mesa3d: Disable static build of DRI drivers if BR2_SHARED_STATIC_LIBS=y
Date: Sat, 25 Jun 2016 23:13:18 +0300 [thread overview]
Message-ID: <20160625201318.GA2319@tarshish> (raw)
In-Reply-To: <1466854943-18855-1-git-send-email-bernd.kuhls@t-online.de>
Hi Bernd,
On Sat, Jun 25, 2016 at 01:42:23PM +0200, Bernd Kuhls wrote:
> Using this defconfig
>
> BR2_SHARED_STATIC_LIBS=y
> BR2_TOOLCHAIN_BUILDROOT_CXX=y
> BR2_PACKAGE_MESA3D=y
> BR2_PACKAGE_MESA3D_DRI_DRIVER_I965=y
>
> building DRI drivers in mesa3d fails with this message:
>
> configure: error: Cannot use static libraries for DRI drivers
>
> Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
> ---
> package/mesa3d/mesa3d.mk | 5 +++++
> 1 file changed, 5 insertions(+)
>
> diff --git a/package/mesa3d/mesa3d.mk b/package/mesa3d/mesa3d.mk
> index ebd674f..5ba9d6e 100644
> --- a/package/mesa3d/mesa3d.mk
> +++ b/package/mesa3d/mesa3d.mk
> @@ -123,6 +123,11 @@ MESA3D_CONF_OPTS += \
> --enable-shared-glapi \
> --enable-driglx-direct \
> --with-dri-drivers=$(subst $(space),$(comma),$(MESA3D_DRI_DRIVERS-y))
> +# fixes the following configure error:
> +# configure: error: Cannot use static libraries for DRI drivers
> +ifeq ($(BR2_SHARED_STATIC_LIBS),y)
> +MESA3D_CONF_OPTS += --disable-static
> +endif
Since mesa3d depends on !BR2_STATIC_LIBS already, why not add --disable-static
unconditionally?
baruch
--
http://baruch.siach.name/blog/ ~. .~ Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
- baruch at tkos.co.il - tel: +972.52.368.4656, http://www.tkos.co.il -
prev parent reply other threads:[~2016-06-25 20:13 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-06-25 11:42 [Buildroot] [PATCH 1/1] package/mesa3d: Disable static build of DRI drivers if BR2_SHARED_STATIC_LIBS=y Bernd Kuhls
2016-06-25 20:13 ` Baruch Siach [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20160625201318.GA2319@tarshish \
--to=baruch@tkos.co.il \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox