build: Also look for python-2.7 pkg-config module
Apparently Gentoo names the module python-2.7 instead of python27.
This commit is contained in:
parent
58cc125b0f
commit
b04a532fa3
|
@ -337,7 +337,7 @@ AS_IF([test "x$BINDINGS_CXX" = xyes],
|
||||||
|
|
||||||
# The Python bindings need Python development files.
|
# The Python bindings need Python development files.
|
||||||
SR_PKG_CHECK([python_dev], [SR_PKGLIBS_PYTHON],
|
SR_PKG_CHECK([python_dev], [SR_PKGLIBS_PYTHON],
|
||||||
[python >= 2.7], [python2 >= 2.7], [python27 >= 2.7])
|
[python >= 2.7], [python2 >= 2.7], [python27 >= 2.7], [python-2.7 >= 2.7])
|
||||||
AS_IF([test "x$sr_have_python_dev" != xyes],
|
AS_IF([test "x$sr_have_python_dev" != xyes],
|
||||||
[SR_APPEND([sr_python_missing], [', '], [Headers])])
|
[SR_APPEND([sr_python_missing], [', '], [Headers])])
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue