[Buildroot] [PATCH] package/nvidia-driver: don't install gl.pc when not providing libgl

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Sat Apr 25 08:34:49 UTC 2015


Dear Yann E. MORIN,

On Fri, 24 Apr 2015 23:39:57 +0200, Yann E. MORIN wrote:
> When nvidia-driver does not provide libgl (i.e. when it does not install
> the X.org driver), it should also not install gl.pc, otherwise, packages
> that depend on pkg-config will mis-detect presence of GL and fail to
> build, like vlc:
> 
>     http://autobuild.buildroot.org/results/724/724fce8ce51c2c0578192b1369a1cfcea3d72638/
> 
> So, only install gl.pc when we install the X.org driver. Similarly, we
> do not need to install libGL.la either.
> 
> Reported-by: Bernd Kuhls <bernd.kuhls at t-online.de>
> Signed-off-by: "Yann E. MORIN" <yann.morin.1998 at free.fr>
> Cc: Bernd Kuhls <bernd.kuhls at t-online.de>
> ---
>  package/nvidia-driver/nvidia-driver.mk | 15 ++++++++++-----
>  1 file changed, 10 insertions(+), 5 deletions(-)

Applied, thanks.

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com



More information about the buildroot mailing list