testsuite: build fix

The statically linked tests need to have -DGTK_COMPILATION=1
in their cflags.
This commit is contained in:
Matthias Clasen 2024-08-12 19:17:56 -04:00
parent b1995d0d77
commit cb339f85b8

View File

@ -492,7 +492,7 @@ endforeach
if os_linux
offload = executable('offload', 'offload.c', 'gskrendernodeattach.c',
dependencies : libgtk_static_dep,
c_args: common_cflags,
c_args: common_cflags + [ '-DGTK_COMPILATION=1' ],
)
offload_tests = [