diff --git a/common/build-helper/meson.sh b/common/build-helper/meson.sh index adb092e4a8e..6232f9260c2 100644 --- a/common/build-helper/meson.sh +++ b/common/build-helper/meson.sh @@ -74,6 +74,7 @@ cat > "${XBPS_WRAPPERDIR}/meson/xbps_meson.cross" <<-EOF [properties] needs_exe_wrapper = true + bindgen_clang_arguments = ['-target', '${XBPS_CROSS_TRIPLET}'] [host_machine] system = 'linux'