e63ce93
Use PKG_CHECK_MODULES for python2 The hardcoded python CFLAGS and CLIBS are not working on Archlinux where default python is python3. Changed to use PKG_CHECK_MODULES to detect CFLAGS and LDFLAGS of python. Signed-off-by: Gris Ge <cnfourt@gmail.com>