You've already forked libmali-rockchip
mirror of
https://github.com/armbian/libmali-rockchip.git
synced 2026-01-06 12:03:41 -08:00
hook: Define EGL_NO_X11 when x11 is disabled
Change-Id: I89ac1474b96d3bb90f599469fdd4470529b3034d Signed-off-by: Jeffy Chen <jeffy.chen@rock-chips.com>
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user