The test for cross builds was written wrong and we should explicitly disable
building of OCaml bindings for cross-builds.

Signed-off-by: Martin Kletzander <mklet...@redhat.com>
---
 ci/build.sh | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/ci/build.sh b/ci/build.sh
index fc43c3008952..3983e7492cf8 100755
--- a/ci/build.sh
+++ b/ci/build.sh
@@ -76,12 +76,13 @@ main() {
 --with-libxml2 \
 "
 
-    if "$CROSS"
+    if test -n "$CROSS"
     then
         CONFIG_ARGS="$CONFIG_ARGS
             --disable-fuse
             --disable-ocaml
-            --disable-python"
+            --disable-python
+            --disable-golang"
     else
         CONFIG_ARGS="$CONFIG_ARGS
             --enable-fuse
-- 
2.33.0

_______________________________________________
Libguestfs mailing list
Libguestfs@redhat.com
https://listman.redhat.com/mailman/listinfo/libguestfs

Reply via email to