diff options
author | Abhishek Kumar <abhishek@theembeddedkitchen.net> | 2014-05-09 06:05:00 +0700 |
---|---|---|
committer | Uwe Hermann <uwe@hermann-uwe.de> | 2014-05-09 17:30:25 +0200 |
commit | 888bbe38a50a1e3224dcef68686a00e2754e8b47 (patch) | |
tree | 40b19d3a7b7f8bea95836f4d52b462e14d5fd990 /libsigrokdecode.pc.in | |
parent | 95e2b2f92b144e1b0edf29819a8585dbbc00f169 (diff) | |
download | libsigrokdecode-888bbe38a50a1e3224dcef68686a00e2754e8b47.tar.gz libsigrokdecode-888bbe38a50a1e3224dcef68686a00e2754e8b47.zip |
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).
Diffstat (limited to 'libsigrokdecode.pc.in')
-rw-r--r-- | libsigrokdecode.pc.in | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libsigrokdecode.pc.in b/libsigrokdecode.pc.in index b180f27..6c415d7 100644 --- a/libsigrokdecode.pc.in +++ b/libsigrokdecode.pc.in @@ -6,10 +6,10 @@ includedir=@includedir@ Name: libsigrokdecode Description: Protocol decoder library of the sigrok logic analyzer software URL: http://www.sigrok.org -Requires: +Requires: @MODNAME_PYTHON@ Requires.private: glib-2.0 Version: @VERSION@ Libs: -L${libdir} -lsigrokdecode -Libs.private: @LDFLAGS_PYTHON@ -Cflags: -I${includedir} @CPPFLAGS_PYTHON@ +Libs.private: +Cflags: -I${includedir} |