Brad Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame^] | 1 | From 546d53c3515e8a488a204763437d1fa0917097e5 Mon Sep 17 00:00:00 2001 |
| 2 | From: Alexander Kanavin <alex.kanavin@gmail.com> |
| 3 | Date: Tue, 11 Dec 2018 12:39:30 +0100 |
| 4 | Subject: [PATCH] Add a define so that gir compilation succeeds |
| 5 | |
| 6 | For some reason meson 0.49.0 does not anymore pass global arguments to gir compiler. |
| 7 | |
| 8 | Upstream-Status: Pending |
| 9 | Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> |
| 10 | --- |
| 11 | src/meson.build | 2 +- |
| 12 | 1 file changed, 1 insertion(+), 1 deletion(-) |
| 13 | |
| 14 | diff --git a/src/meson.build b/src/meson.build |
| 15 | index 6ff8a6a..f0b2887 100644 |
| 16 | --- a/src/meson.build |
| 17 | +++ b/src/meson.build |
| 18 | @@ -132,7 +132,7 @@ if get_option('with_introspection') |
| 19 | install_dir_gir: girdir, |
| 20 | install_dir_typelib: typelibdir, |
| 21 | export_packages: libdazzle_package, |
| 22 | - extra_args: [ '--c-include=dazzle.h', '--quiet' ], |
| 23 | + extra_args: [ '--c-include=dazzle.h', '--quiet', '-DDAZZLE_COMPILATION' ], |
| 24 | ) |
| 25 | |
| 26 | if get_option('with_vapi') |