build: add a hack for Damned Lies

if conditions are confusing for Damned Lies,
so add a non-installed 18n.gettext before it.

Idea borrowed from 21ff7337f2

See https://gitlab.gnome.org/Infrastructure/damned-lies/issues/150
This commit is contained in:
Piotr Drąg
2019-11-23 16:42:31 +01:00
parent 17624ecb18
commit e15419a346

View File

@ -1,3 +1,6 @@
# https://gitlab.gnome.org/Infrastructure/damned-lies/issues/150
i18n.gettext('sysprof-workaround', preset: 'glib', install: false)
if get_option('libsysprof')
i18n.gettext('sysprof', preset: 'glib')
endif