File tree 4 files changed +5
-0
lines changed
4 files changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ libnvidia_egl_wayland_la_CFLAGS = \
12
12
# Required library flags
13
13
libnvidia_egl_wayland_la_CFLAGS += \
14
14
$(PTHREAD_CFLAGS ) \
15
+ $(EGL_CFLAGS ) \
15
16
$(EGL_EXTERNAL_PLATFORM_CFLAGS ) \
16
17
$(WAYLAND_CFLAGS ) \
17
18
$(LIBDRM_CFLAGS ) \
Original file line number Diff line number Diff line change @@ -66,6 +66,7 @@ AX_PTHREAD()
66
66
AC_CHECK_LIB ( [ dl] , [ dlsym] ,
67
67
[ ] ,
68
68
[ AC_MSG_ERROR ( "dlsym is needed to compile wayland-egldisplay" ) ] )
69
+ PKG_CHECK_MODULES([ EGL_HEADERS] , [ egl >= 1.5 egl < 2] )
69
70
PKG_CHECK_MODULES([ EGL_EXTERNAL_PLATFORM] , [ eglexternalplatform >= ${EGL_EXTERNAL_PLATFORM_MIN_VERSION} eglexternalplatform < ${EGL_EXTERNAL_PLATFORM_MAX_VERSION}] )
70
71
PKG_CHECK_MODULES([ WAYLAND] , [ wayland-server wayland-client wayland-egl-backend >= 3] )
71
72
PKG_CHECK_MODULES([ LIBDRM] , [ libdrm] )
Original file line number Diff line number Diff line change @@ -18,6 +18,8 @@ wayland_eglstream_major_version = ver_arr[0]
18
18
wayland_eglstream_minor_version = ver_arr[1 ]
19
19
wayland_eglstream_micro_version = ver_arr[2 ]
20
20
21
+ egl = dependency (' egl' , version : [' >=1.5' , ' <2' ])
22
+ egl_headers = egl.partial_dependency(includes : true , compile_args : true )
21
23
eglexternalplatform = dependency (' eglexternalplatform' , version : [' >=1.1' , ' <2' ])
22
24
wayland_server = dependency (' wayland-server' )
23
25
wayland_client = dependency (' wayland-client' )
Original file line number Diff line number Diff line change @@ -73,6 +73,7 @@ src += code.process(wl_drm_syncobj_xml)
73
73
egl_wayland = library (' nvidia-egl-wayland' ,
74
74
src,
75
75
dependencies : [
76
+ egl_headers,
76
77
eglexternalplatform,
77
78
wayland_server,
78
79
wayland_client,
You can’t perform that action at this time.
0 commit comments