diff --git a/hook/meson.build b/hook/meson.build index 8c8ab79..bfb5408 100644 --- a/hook/meson.build +++ b/hook/meson.build @@ -53,6 +53,8 @@ if cc.has_function('eglCreateContext', dependencies : mali) # Add hooks to init X11 threads libhook_dep += dependency('x11') libhook_cflags += '-DHAS_X11' + else + libhook_cflags += '-DEGL_NO_X11' endif endif