CI: Test static build on installed glib

This commit is contained in:
Xavier Claessens
2018-09-26 10:56:10 -04:00
parent 85e2a7d1b7
commit 7fa6e9e837
5 changed files with 95 additions and 1 deletions

View File

@@ -0,0 +1,8 @@
#include <gio/gio.h>
int main(int argc, char *argv[])
{
GApplication *app = g_application_new (NULL, 0);
g_object_unref (app);
return 0;
}

View File

@@ -0,0 +1,8 @@
project('test-static-link', 'c')
# This is a dummy project that static links against installed gio.
# See gio/tests/static-link.py.
app = executable('test-static-link', 'app.c',
dependencies : dependency('gio-2.0', static : true)
)
test('test-static-link', app)