[gtksourceview/fix-cross-install] meson: Fix 'install' in cross builds




commit b409edeeacc7ed3242250351c5b6108e9fbb45f4
Author: Chun-wei Fan <fanchunwei src gnome org>
Date:   Wed Apr 6 18:07:09 2022 +0800

    meson: Fix 'install' in cross builds
    
    We may or may not have a `gtk4-update-icon-cache` tool that is executable on
    the build machine if we are doing a cross build, and it seem to be pointless
    to run it if we are doing so, so don't ensure that it successfully ran on cross
    builds.

 meson.build | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/meson.build b/meson.build
index 8b191e8c..4d79e004 100644
--- a/meson.build
+++ b/meson.build
@@ -343,4 +343,4 @@ summary({
   }, bool_yn: true,
 )
 
-gnome.post_install(gtk_update_icon_cache: true)
+gnome.post_install(gtk_update_icon_cache: not meson.is_cross_build())


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]