gnuradio-osmosdr: fix pybind11 cross compilation

This commit is contained in:
Andrew J. Hesford 2024-07-21 00:48:39 -04:00
parent da72c1a40d
commit 70d757b24a
1 changed files with 4 additions and 0 deletions

View File

@ -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}"