Use XSERVER_LIBS instead of XORG_LIBS for -lpciaccess. The former is

only for libraries that are built as part of the xserver build.
This commit is contained in:
Ian Romanick 2006-06-22 15:51:16 -07:00
parent aa131c51e0
commit 6c514ca14c

View File

@ -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