[PATCH] configure: Don't add GLX_SYS_LIBS to XORG_SYS_LIBS

Peter Hutterer peter.hutterer at who-t.net
Wed Feb 5 13:52:02 PST 2014


On Wed, Feb 05, 2014 at 11:10:47AM -0500, Adam Jackson wrote:
> libglx.so is linked against libGL.so, but Xorg itself should not be.
> 
> Signed-off-by: Adam Jackson <ajax at redhat.com>

Reviewed-by: Peter Hutterer <peter.hutterer at who-t.net>

Cheers,
   Peter

> ---
>  configure.ac | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/configure.ac b/configure.ac
> index c6764f5..93f7316 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -1853,7 +1853,7 @@ if test "x$XORG" = xyes; then
>  	if test "x$PCI" = xyes; then
>  		PKG_CHECK_MODULES([PCIACCESS], $LIBPCIACCESS)
>  		SDK_REQUIRED_MODULES="$SDK_REQUIRED_MODULES $LIBPCIACCESS"
> -		XORG_SYS_LIBS="$XORG_SYS_LIBS $PCIACCESS_LIBS $GLX_SYS_LIBS $LIBDRM_LIBS"
> +		XORG_SYS_LIBS="$XORG_SYS_LIBS $PCIACCESS_LIBS $LIBDRM_LIBS"
>  		XORG_CFLAGS="$XORG_CFLAGS $PCIACCESS_CFLAGS $LIBDRM_CFLAGS"
>  
>  		AC_DEFINE(XSERVER_LIBPCIACCESS, 1, [Use libpciaccess for all pci manipulation])
> -- 
> 1.8.5.3
> 
> _______________________________________________
> xorg-devel at lists.x.org: X.Org development
> Archives: http://lists.x.org/archives/xorg-devel
> Info: http://lists.x.org/mailman/listinfo/xorg-devel
> 


More information about the xorg-devel mailing list