gnuradio-rds: fix pybind11 cross compilation

This commit is contained in:
Andrew J. Hesford 2024-07-21 08:01:57 -04:00
parent 1b84064cd6
commit 86aeba7884
1 changed files with 4 additions and 0 deletions

View File

@ -13,6 +13,10 @@ homepage="https://github.com/bastibl/gr-rds"
distfiles="https://github.com/bastibl/gr-rds/archive/v${version}.tar.gz" distfiles="https://github.com/bastibl/gr-rds/archive/v${version}.tar.gz"
checksum=083a9f479d83ac2f6273cdf3b3cf1beca47dfdce2d28264ce979f23c119607f7 checksum=083a9f479d83ac2f6273cdf3b3cf1beca47dfdce2d28264ce979f23c119607f7
if [ "$CROSS_BUILD" ]; then
configure_args+=" -DPYBIND11_USE_CROSSCOMPILING=ON"
fi
gnuradio-rds-devel_package() { gnuradio-rds-devel_package() {
depends="${makedepends} ${sourcepkg}-${version}_${revision}" depends="${makedepends} ${sourcepkg}-${version}_${revision}"
short_desc+=" - development files" short_desc+=" - development files"