mirror of
https://github.com/libguestfs/libguestfs.git
synced 2026-03-22 07:03:38 +00:00
Use pkg-config for Python
At least libpython2.7-dev and libpython3.3-dev on current Debian/unstable ship with pkg-config files. As with the pkg-config check for Lua, we check for versioned and an unversioned .pc files.
This commit is contained in:
committed by
Richard W.M. Jones
parent
7865f82537
commit
e5f0dfb6e3
@@ -43,7 +43,7 @@ libguestfsmod_la_SOURCES = guestfs-py.c guestfs-py.h guestfs-py-byhand.c
|
||||
|
||||
libguestfsmod_la_CPPFLAGS = \
|
||||
-DGUESTFS_PRIVATE=1 \
|
||||
-I$(PYTHON_INCLUDEDIR) \
|
||||
$(PYTHON_CFLAGS) \
|
||||
-I$(top_srcdir)/src -I$(top_builddir)/src
|
||||
|
||||
libguestfsmod_la_CFLAGS = \
|
||||
|
||||
Reference in New Issue
Block a user