mirror of
https://gitlab.freedesktop.org/xorg/lib/libx11.git
synced 2026-05-05 01:48:00 +02:00
Add xcb-xlib dependency to x11.pc when built against XCB.
This commit is contained in:
parent
2302008a37
commit
e494ecaac1
2 changed files with 3 additions and 1 deletions
|
|
@ -40,10 +40,12 @@ no)
|
|||
;;
|
||||
*)
|
||||
X11_REQUIRES="xcb-xlib >= 0.9.92"
|
||||
X11_EXTRA_DEPS="xcb-xlib"
|
||||
xdmauth="no" # XCB handles all auth
|
||||
AC_DEFINE(USE_XCB, 1, [Use XCB for low-level protocol implementation])
|
||||
;;
|
||||
esac
|
||||
AC_SUBST(X11_EXTRA_DEPS)
|
||||
PKG_CHECK_MODULES(X11, xextproto xtrans $X11_REQUIRES)
|
||||
|
||||
dnl Issue an error if xtrans.m4 was not found and XTRANS_CONNECTION_FLAGS macro
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ Name: X11
|
|||
Description: X Library
|
||||
Version: @PACKAGE_VERSION@
|
||||
Requires: xproto @XKBPROTO_REQUIRES@
|
||||
Requires.private: xau xdmcp
|
||||
Requires.private: xau xdmcp @X11_EXTRA_DEPS@
|
||||
Cflags: -I${includedir} @XTHREAD_CFLAGS@
|
||||
Libs: -L${libdir} -lX11
|
||||
Libs.private: @XTHREADLIB@
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue