Do not link libpython >= 3.8

Per issue https://github.com/Hamlib/Hamlib/issues/253 when building
Python binding for version 3.8 or later, set PYTHON_LIBS="".
pull/281/head
Nate Bargmann 2020-05-24 12:06:44 -05:00
rodzic c34e139706
commit a279ab1bba
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: F72625E2EDBED598
1 zmienionych plików z 5 dodań i 0 usunięć

Wyświetl plik

@ -544,6 +544,11 @@ dnl Determine whether to install pytest.py or py3test.py to $(docdir)/examples
AM_PYTHON_CHECK_VERSION([${PYTHON}], [3.0], [pyver_3="yes"], [pyver_3="no"])
AM_CONDITIONAL([PYVER_3], [test x"${pyver_3}" = x"yes"])
dnl Determine whether to link libpython as it is unneeded for Python >= 3.8
AM_PYTHON_CHECK_VERSION([${PYTHON}], [3.8], [pyver_3_8="yes"], [pyver_3_8="no"])
AS_IF([test x"${pyver_3_8}" = "xyes"],[
PYTHON_LIBS=""
])
# Tcl binding
AC_MSG_CHECKING([Whether to build Tcl bindings])