diff --git a/srcpkgs/gnuradio-osmosdr/template b/srcpkgs/gnuradio-osmosdr/template index fa8334722d8..1d541ad02ea 100644 --- a/srcpkgs/gnuradio-osmosdr/template +++ b/srcpkgs/gnuradio-osmosdr/template @@ -14,6 +14,10 @@ homepage="https://osmocom.org/projects/gr-osmosdr/wiki/GrOsmoSDR" distfiles="https://github.com/osmocom/gr-osmosdr/archive/v${version}.tar.gz" checksum=28b6f2768aee7b397b227e9e70822e28de3b4c5362a5d14646a0948a48094a63 +if [ "$CROSS_BUILD" ]; then + configure_args+=" -DPYBIND11_USE_CROSSCOMPILING=ON" +fi + gnuradio-osmosdr-devel_package() { short_desc+=" - development files" depends="${sourcepkg}>=${version}_${revision}"