mirror of
https://gitee.com/openharmony/third_party_mesa3d
synced 2024-11-25 00:09:54 +00:00
configure: check for core xcb and link libEGL against it
Make sure to check the presence of the module in order to pick the correct libs flag and before feeding them to the compiler/linker. Current libEGL depends conditionally (when building with x11 platform) upon xcb. Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
This commit is contained in:
parent
da029f8081
commit
17798bfb47
@ -1548,7 +1548,7 @@ for plat in $egl_platforms; do
|
|||||||
;;
|
;;
|
||||||
|
|
||||||
x11)
|
x11)
|
||||||
PKG_CHECK_MODULES([XCB_DRI2], [x11-xcb xcb-dri2 >= $XCBDRI2_REQUIRED xcb-xfixes])
|
PKG_CHECK_MODULES([XCB_DRI2], [x11-xcb xcb xcb-dri2 >= $XCBDRI2_REQUIRED xcb-xfixes])
|
||||||
;;
|
;;
|
||||||
|
|
||||||
drm)
|
drm)
|
||||||
|
Loading…
Reference in New Issue
Block a user