summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Nocera <hadess@hadess.net>2022-09-12 11:05:02 +0200
committerBastien Nocera <hadess@hadess.net>2022-09-12 11:05:02 +0200
commit5ffe1e89fd077e56d3a23d65c794ff330206408e (patch)
treeb8551d5e88eb21713dfc8455a7d3f094c7b0abb1
parent2e71c29ff9c2d979bfd0cf74fcca5978bb6f1f23 (diff)
downloadgnome-online-accounts-5ffe1e89fd077e56d3a23d65c794ff330206408e.tar.gz
build: Don't compile schemas if none are installed
If the backend isn't built, no schemas are installed, but we'd still try to compile the schemas. Running custom install script '/usr/bin/glib-compile-schemas /app/share/glib-2.0/schemas' Error opening directory “/app/share/glib-2.0/schemas”: No such file or directory FAILED: install script '/usr/bin/glib-compile-schemas /app/share/glib-2.0/schemas' exit code 1, stopped Fixes: 49daccd ("build: Use gnome.post_install() function")
-rw-r--r--meson.build2
1 files changed, 1 insertions, 1 deletions
diff --git a/meson.build b/meson.build
index 562451b..dbb2e52 100644
--- a/meson.build
+++ b/meson.build
@@ -266,7 +266,7 @@ endif
subdir('po')
gnome.post_install(
- glib_compile_schemas: true,
+ glib_compile_schemas: enable_goabackend,
gtk_update_icon_cache: true,
)