Link the data url tests statically

Thats the cleaner way to test internal apis.
This commit is contained in:
Matthias Clasen 2021-02-03 09:02:06 -05:00
parent 9cc6f3ee29
commit 7a9bc1f1d8

View File

@ -29,10 +29,10 @@ test('api', test_api,
suite: 'css',
)
test_data = executable('data', ['data.c', '../../gtk/css/gtkcssdataurl.c'],
test_data = executable('data', 'data.c',
c_args: common_cflags,
include_directories: [confinc, ],
dependencies: gtk_deps,
dependencies: libgtk_static_dep,
install: get_option('install-tests'),
install_dir: testexecdir,
)