]> sigrok.org Git - libsigrokdecode.git/commit - configure.ac
Add python as a pkg-config dependency
authorAbhishek Kumar <redacted>
Thu, 8 May 2014 23:05:00 +0000 (06:05 +0700)
committerUwe Hermann <redacted>
Sun, 12 Jul 2015 15:20:21 +0000 (17:20 +0200)
commit8bf799740d405431cd1b53aae6092fc5479c7537
tree0013e570f2b15325dced4cd58aebe5c642df1bcb
parent788b2c6183554d8d985c2ab59cd1d5d3575009dd
Add python as a pkg-config dependency

The current libsigrokdecode build passes the python
CPPFLAGS and LDFLAGS directly into libsigrokdecode.pc.in.
This leads to issues while cross-compiling as while using
PKG_CONFIG_SYSROOT_DIR, there is a chance of the prefix
being duplicated. We now, while detecting the installation
of python (cross or normal), add a dependency for the
module name in the pkgconfig file (from configure.ac).
configure.ac
libsigrokdecode.pc.in