Skip to content

Commit 70d757b

Browse files
committed
gnuradio-osmosdr: fix pybind11 cross compilation
1 parent da72c1a commit 70d757b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

srcpkgs/gnuradio-osmosdr/template

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,10 @@ homepage="https://osmocom.org/projects/gr-osmosdr/wiki/GrOsmoSDR"
1414
distfiles="https://github.com/osmocom/gr-osmosdr/archive/v${version}.tar.gz"
1515
checksum=28b6f2768aee7b397b227e9e70822e28de3b4c5362a5d14646a0948a48094a63
1616

17+
if [ "$CROSS_BUILD" ]; then
18+
configure_args+=" -DPYBIND11_USE_CROSSCOMPILING=ON"
19+
fi
20+
1721
gnuradio-osmosdr-devel_package() {
1822
short_desc+=" - development files"
1923
depends="${sourcepkg}>=${version}_${revision}"

0 commit comments

Comments
 (0)