mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-02 15:33:39 +02:00
CI: Test static build on installed glib
This commit is contained in:
8
gio/tests/static-link/app.c
Normal file
8
gio/tests/static-link/app.c
Normal 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;
|
||||
}
|
8
gio/tests/static-link/meson.build
Normal file
8
gio/tests/static-link/meson.build
Normal 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)
|
Reference in New Issue
Block a user