From 6c514ca14c2326c2cf82b73196429789d11e4a01 Mon Sep 17 00:00:00 2001 From: Ian Romanick Date: Thu, 22 Jun 2006 15:51:16 -0700 Subject: [PATCH] Use XSERVER_LIBS instead of XORG_LIBS for -lpciaccess. The former is only for libraries that are built as part of the xserver build. --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 3be0448b0..ec133dc06 100644 --- a/configure.ac +++ b/configure.ac @@ -1036,7 +1036,7 @@ dnl has it in libc), or if libdl is needed to get it. AC_CHECK_LIB([dl], [dlopen], XORG_LIBS="$XORG_LIBS -ldl")) PKG_CHECK_MODULES([PCIACCESS], [pciaccess >= 0.3.0]) - XORG_LIBS="$XORG_LIBS $PCIACCESS_LIBS" + XSERVER_LIBS="$XSERVER_LIBS $PCIACCESS_LIBS" XORG_CFLAGS="$XORG_CFLAGS $PCIACCESS_CFLAGS" case $host_os in