From 86aeba7884e07fbe95957ef49b6bb3905f77ba51 Mon Sep 17 00:00:00 2001 From: "Andrew J. Hesford" Date: Sun, 21 Jul 2024 08:01:57 -0400 Subject: [PATCH] gnuradio-rds: fix pybind11 cross compilation --- srcpkgs/gnuradio-rds/template | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/srcpkgs/gnuradio-rds/template b/srcpkgs/gnuradio-rds/template index 73f5728e0f3..04f6299a80f 100644 --- a/srcpkgs/gnuradio-rds/template +++ b/srcpkgs/gnuradio-rds/template @@ -13,6 +13,10 @@ homepage="https://github.com/bastibl/gr-rds" distfiles="https://github.com/bastibl/gr-rds/archive/v${version}.tar.gz" checksum=083a9f479d83ac2f6273cdf3b3cf1beca47dfdce2d28264ce979f23c119607f7 +if [ "$CROSS_BUILD" ]; then + configure_args+=" -DPYBIND11_USE_CROSSCOMPILING=ON" +fi + gnuradio-rds-devel_package() { depends="${makedepends} ${sourcepkg}-${version}_${revision}" short_desc+=" - development files"