The use of VERBATIM in commit dee85a7f4932c2475d9e84c5f92c2f3220aed3e6
affected the expansion of ${pyexe_native} for cross builds:
#!/usr/bin/env;python
is not the same as
#!/usr/bin/env python
Signed-off-by: Andy Walls <[email protected]>
--
diff --git a/cmake/Modules/GrPython.cmake b/cmake/Modules/GrPython.cmake
index ed7f05c..395faff 100644
--- a/cmake/Modules/GrPython.cmake
+++ b/cmake/Modules/GrPython.cmake
@@ -192,7 +192,7 @@ function(GR_PYTHON_INSTALL)
file(TO_NATIVE_PATH ${PYTHON_EXECUTABLE} pyexe_native)
if (CMAKE_CROSSCOMPILING)
- set(pyexe_native /usr/bin/env python)
+ set(pyexe_native "/usr/bin/env python")
endif()
foreach(pyfile ${GR_PYTHON_INSTALL_PROGRAMS})
diff --git a/volk/cmake/GrPython.cmake b/volk/cmake/GrPython.cmake
index f2adc31..b7b561b 100644
--- a/volk/cmake/GrPython.cmake
+++ b/volk/cmake/GrPython.cmake
@@ -184,7 +184,7 @@ function(VOLK_PYTHON_INSTALL)
file(TO_NATIVE_PATH ${PYTHON_EXECUTABLE} pyexe_native)
if (CMAKE_CROSSCOMPILING)
- set(pyexe_native /usr/bin/env python)
+ set(pyexe_native "/usr/bin/env python")
endif()
foreach(pyfile ${VOLK_PYTHON_INSTALL_PROGRAMS})
_______________________________________________
Discuss-gnuradio mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio