[gtk/matthiasc/for-master] Link the data url tests statically



commit 7a9bc1f1d8b822394a53d8736cc324937e609149
Author: Matthias Clasen <mclasen redhat com>
Date:   Wed Feb 3 09:02:06 2021 -0500

    Link the data url tests statically
    
    Thats the cleaner way to test internal apis.

 testsuite/css/meson.build | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/testsuite/css/meson.build b/testsuite/css/meson.build
index 82b8984276..f8d13fe548 100644
--- a/testsuite/css/meson.build
+++ b/testsuite/css/meson.build
@@ -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,
 )


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]