|
@@ -116,6 +116,9 @@ ifeq ($(BR2_PACKAGE_GNURADIO_PYTHON),y)
|
|
|
GNURADIO_DEPENDENCIES += python3 python-pybind \
|
|
|
host-python-numpy host-python-packaging
|
|
|
GNURADIO_CONF_OPTS += -DENABLE_PYTHON=ON
|
|
|
+# mandatory to avoid pybind11 to overwrite variables provided
|
|
|
+# by gnuradio and buildroot
|
|
|
+GNURADIO_CONF_OPTS += -DPYBIND11_PYTHONLIBS_OVERWRITE=OFF
|
|
|
# mandatory to install python modules in site-packages and to use
|
|
|
# correct path for python libraries
|
|
|
GNURADIO_CONF_OPTS += -DGR_PYTHON_RELATIVE=ON \
|