diff options
-rw-r--r-- | test cases/frameworks/6 gettext/meson.build | 2 | ||||
-rw-r--r-- | test cases/frameworks/6 gettext/meson_options.txt | 1 | ||||
-rw-r--r-- | test cases/frameworks/6 gettext/test.json | 8 |
3 files changed, 10 insertions, 1 deletions
diff --git a/test cases/frameworks/6 gettext/meson.build b/test cases/frameworks/6 gettext/meson.build index 9856341..2640ab2 100644 --- a/test cases/frameworks/6 gettext/meson.build +++ b/test cases/frameworks/6 gettext/meson.build @@ -10,7 +10,7 @@ if not xgettext.found() error('MESON_SKIP_TEST xgettext not found.') endif -intl = dependency('intl', required: false) +intl = dependency('intl', required: false, static: get_option('static')) if not intl.found() error('MESON_SKIP_TEST libintl/gettext functions not found.') endif diff --git a/test cases/frameworks/6 gettext/meson_options.txt b/test cases/frameworks/6 gettext/meson_options.txt new file mode 100644 index 0000000..f41ed25 --- /dev/null +++ b/test cases/frameworks/6 gettext/meson_options.txt @@ -0,0 +1 @@ +option('static', type : 'boolean', value : false, description : 'build statically linked binaries') diff --git a/test cases/frameworks/6 gettext/test.json b/test cases/frameworks/6 gettext/test.json index 55a475a..12ce27a 100644 --- a/test cases/frameworks/6 gettext/test.json +++ b/test cases/frameworks/6 gettext/test.json @@ -11,5 +11,13 @@ {"type": "file", "file": "usr/share/applications/test3.desktop"}, {"type": "file", "file": "usr/share/applications/test4.desktop"} ], + "matrix": { + "options": { + "static": [ + { "val": "true" }, + { "val": "false" } + ] + } + }, "skip_on_jobname": ["azure", "cygwin"] } |