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

Bernd Kuhls bernd.kuhls at t-online.de
Sat Apr 25 06:38:27 UTC 2015


"Yann E. MORIN" <yann.morin.1998 at free.fr> wrote in
news:1429911597-19411-1-git-send-email-yann.morin.1998 at free.fr: 

> 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/724fce8ce51c2c0578192b1369
>     a1cfcea3d72638/ 
> 
> 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> 

Reviewed-by: Bernd Kuhls <bernd.kuhls at t-online.de>



More information about the buildroot mailing list