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
This patch still does not works on Archlinux. It might have something to do with swig. Closing.
Pull-Request has been closed by cathay4t
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