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:
		
							parent
							
								
									aa131c51e0
								
							
						
					
					
						commit
						6c514ca14c
					
				| 
						 | 
					@ -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"))
 | 
							AC_CHECK_LIB([dl], [dlopen], XORG_LIBS="$XORG_LIBS -ldl"))
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	PKG_CHECK_MODULES([PCIACCESS], [pciaccess >= 0.3.0])
 | 
						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"
 | 
						XORG_CFLAGS="$XORG_CFLAGS $PCIACCESS_CFLAGS"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	case $host_os in
 | 
						case $host_os in
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue