trace-cmd: use pkg-config instead of python-config
authorRomain Naour <romain.naour@openwide.fr>
Sun, 20 Oct 2013 21:36:14 +0000 (23:36 +0200)
committerPeter Korsgaard <peter@korsgaard.com>
Sun, 27 Oct 2013 11:30:14 +0000 (12:30 +0100)
commitff0367008c683362f422751644237218b1c45def
tree4acfdae51e6a07ade93cb8c6d3dad16bf2487ce4
parentfb74bc78fbd2ab89baa05960fd13267392d0e399
trace-cmd: use pkg-config instead of python-config

trace-cmd use python-config to find out which headers
and libraries should be used to link against the Python libraries.
By default, python-config returns paths that are inappropriate for
cross-compilation.

This patch replaces python-config with pkg-config as a workaround.

Add PYTHON_VERS to build trace-cmd with python2 or python3

Fixes:
http://autobuild.buildroot.net/results/980/980875810528ac1dee34b8c268d9b3c40b2e35ec/

Signed-off-by: Romain Naour <romain.naour@openwide.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/trace-cmd/trace-cmd-0001-Makefile-use-pkg-config-instead-of-python-config.patch [new file with mode: 0644]
package/trace-cmd/trace-cmd.mk