[gdk-pixbuf: 2/5] meson: don't build tests or the thumbnailer if cross building



commit fc37708313a5fc52083cf10c9326f3509d67701f
Author: Matthew Waters <matthew centricular com>
Date:   Mon Oct 8 21:14:05 2018 +1100

    meson: don't build tests or the thumbnailer if cross building

 meson.build | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/meson.build b/meson.build
index 6b0ba49e2..56ef4f1f1 100644
--- a/meson.build
+++ b/meson.build
@@ -396,8 +396,10 @@ endif
 # i18n
 subdir('po')
 
-subdir('tests')
-subdir('thumbnailer')
+if not meson.is_cross_build()
+  subdir('tests')
+  subdir('thumbnailer')
+endif
 
 # Documentation
 subdir('docs')


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