aboutsummaryrefslogtreecommitdiffstats
path: root/meson/test cases/frameworks/22 gir link order/fake-gthread/meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'meson/test cases/frameworks/22 gir link order/fake-gthread/meson.build')
-rw-r--r--meson/test cases/frameworks/22 gir link order/fake-gthread/meson.build12
1 files changed, 12 insertions, 0 deletions
diff --git a/meson/test cases/frameworks/22 gir link order/fake-gthread/meson.build b/meson/test cases/frameworks/22 gir link order/fake-gthread/meson.build
new file mode 100644
index 000000000..693e8e0ec
--- /dev/null
+++ b/meson/test cases/frameworks/22 gir link order/fake-gthread/meson.build
@@ -0,0 +1,12 @@
+fake_gthread_sources = ['fake-gthread.c', 'fake-gthread.h']
+fake_gthread_lib = shared_library(
+ 'gthread-2.0',
+ sources : fake_gthread_sources,
+ install : false,
+)
+
+fake_gthread_includes = include_directories('.')
+fake_gthread = declare_dependency(
+ include_directories : fake_gthread_includes,
+ link_with : fake_gthread_lib,
+)