From da72c1a40d92dbaf6bbf7da281eaaf8bf265aec9 Mon Sep 17 00:00:00 2001 From: "Andrew J. Hesford" Date: Sat, 20 Jul 2024 21:54:16 -0400 Subject: [PATCH] gnuradio: fix pybind11 cross compilation --- srcpkgs/gnuradio/template | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/srcpkgs/gnuradio/template b/srcpkgs/gnuradio/template index f9d50825b18..66eb0e62629 100644 --- a/srcpkgs/gnuradio/template +++ b/srcpkgs/gnuradio/template @@ -27,7 +27,7 @@ python_version=3 if [ "$CROSS_BUILD" ]; then # CMake fails when cross-compiling. - configure_args+=" -DENABLE_TESTING=OFF" + configure_args+=" -DENABLE_TESTING=OFF -DPYBIND11_USE_CROSSCOMPILING=ON" fi if [ "${XBPS_TARGET_MACHINE%-musl}" = "i686" ]; then