diff options
Diffstat (limited to 'testing/libsigrokdecode/python3-embed.patch')
-rw-r--r-- | testing/libsigrokdecode/python3-embed.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/testing/libsigrokdecode/python3-embed.patch b/testing/libsigrokdecode/python3-embed.patch new file mode 100644 index 0000000000..eb856cd2a9 --- /dev/null +++ b/testing/libsigrokdecode/python3-embed.patch @@ -0,0 +1,13 @@ +diff --git a/configure.ac b/configure.ac +index 56f01a2..c661c63 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -90,7 +90,7 @@ SR_PKG_CHECK_SUMMARY([srd_pkglibs_summary]) + + # Python 3 is always needed. + SR_PKG_CHECK([python3], [SRD_PKGLIBS], +- [python3 >= 3.2], [python-3.7 >= 3.7], [python-3.6 >= 3.6], [python-3.5 >= 3.5], [python-3.4 >= 3.4], [python-3.3 >= 3.3], [python-3.2 >= 3.2]) ++ [python3-embed], [python3 >= 3.2], [python-3.7 >= 3.7], [python-3.6 >= 3.6], [python-3.5 >= 3.5], [python-3.4 >= 3.4], [python-3.3 >= 3.3], [python-3.2 >= 3.2]) + AS_IF([test "x$sr_have_python3" = xno], + [AC_MSG_ERROR([Cannot find Python 3 development headers.])]) + |