expand tests to check both static and shared intl dependency
This commit is contained in:
parent
1fb6c93947
commit
82e92e90ec
|
@ -10,7 +10,7 @@ if not xgettext.found()
|
||||||
error('MESON_SKIP_TEST xgettext not found.')
|
error('MESON_SKIP_TEST xgettext not found.')
|
||||||
endif
|
endif
|
||||||
|
|
||||||
intl = dependency('intl', required: false)
|
intl = dependency('intl', required: false, static: get_option('static'))
|
||||||
if not intl.found()
|
if not intl.found()
|
||||||
error('MESON_SKIP_TEST libintl/gettext functions not found.')
|
error('MESON_SKIP_TEST libintl/gettext functions not found.')
|
||||||
endif
|
endif
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
option('static', type : 'boolean', value : false, description : 'build statically linked binaries')
|
|
@ -11,5 +11,13 @@
|
||||||
{"type": "file", "file": "usr/share/applications/test3.desktop"},
|
{"type": "file", "file": "usr/share/applications/test3.desktop"},
|
||||||
{"type": "file", "file": "usr/share/applications/test4.desktop"}
|
{"type": "file", "file": "usr/share/applications/test4.desktop"}
|
||||||
],
|
],
|
||||||
|
"matrix": {
|
||||||
|
"options": {
|
||||||
|
"static": [
|
||||||
|
{ "val": "true" },
|
||||||
|
{ "val": "false" }
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
"skip_on_jobname": ["azure", "cygwin"]
|
"skip_on_jobname": ["azure", "cygwin"]
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue