configure: Check the correct variable for the Wayland EGL library.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=56411
This commit is contained in:
Alexandre Julliard 2024-03-09 11:21:05 +01:00
parent 47e9980bb1
commit 2ab736e292
2 changed files with 2 additions and 2 deletions

2
configure vendored
View file

@ -16356,7 +16356,7 @@ CPPFLAGS=$ac_save_CPPFLAGS
if test "x$with_wayland" != "x"
then
if test -z "$ac_cv_lib_soname_EGL" -o -z "$HAVE_LIBWAYLAND_EGL"
if test -z "$ac_cv_lib_soname_EGL" -o "$ac_cv_lib_wayland_egl_wl_egl_window_create" != yes
then :
case "x$with_opengl" in
x) as_fn_append wine_notices "|EGL ${notice_platform}development files not found, the Wayland driver won't support OpenGL" ;;

View file

@ -1392,7 +1392,7 @@ then
[WAYLAND_EGL_LIBS=""],[$WAYLAND_EGL_LIBS])])])
if test "x$with_wayland" != "x"
then
WINE_NOTICE_WITH(opengl, [test -z "$ac_cv_lib_soname_EGL" -o -z "$HAVE_LIBWAYLAND_EGL"],
WINE_NOTICE_WITH(opengl, [test -z "$ac_cv_lib_soname_EGL" -o "$ac_cv_lib_wayland_egl_wl_egl_window_create" != yes],
[EGL ${notice_platform}development files not found, the Wayland driver won't support OpenGL])
fi
fi