mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-07-29 16:24:55 +00:00
Merge pull request #6598 from mruprich/python-3.8
build: find all future minor versions of python3
This commit is contained in:
commit
35d78b8b86
@ -186,7 +186,8 @@ AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl
|
|||||||
AC_MSG_RESULT([yes])
|
AC_MSG_RESULT([yes])
|
||||||
|
|
||||||
PYTHON_CFLAGS="`\"$pycfg\" --includes`"
|
PYTHON_CFLAGS="`\"$pycfg\" --includes`"
|
||||||
if test x"${py_ver}" = x"3.8" || test x"{py_ver}" = x"3.9"; then
|
minor_ver=${py_ver#*\.}
|
||||||
|
if test $((minor_ver)) -gt 7; then
|
||||||
PYTHON_LIBS="`\"$pycfg\" --ldflags --embed`"
|
PYTHON_LIBS="`\"$pycfg\" --ldflags --embed`"
|
||||||
else
|
else
|
||||||
PYTHON_LIBS="`\"$pycfg\" --ldflags`"
|
PYTHON_LIBS="`\"$pycfg\" --ldflags`"
|
||||||
|
Loading…
Reference in New Issue
Block a user