python-sip: fix installation of sip.h header
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sun, 19 Apr 2015 13:58:58 +0000 (15:58 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sun, 19 Apr 2015 17:10:32 +0000 (19:10 +0200)
commit32574fe118377511c51bfea20a7bf3e2a9c0bfb2
treec483244b419041d00a8a6df8fd099fefa0627527
parent72578e1883c98cea00d5f0cdac8d49ee6f93f532
python-sip: fix installation of sip.h header

With the current python-sip package, the sip.h header is installed in
$(STAGING_DIR)/usr/include/python3.4/, while Python headers are
expected to be installed in $(STAGING_DIR)/usr/include/python3.4m/
(notice the 'm' at the end).

Since with this, the directory name for the headers and libraries is
not the same, this patch introduces separate PYTHON_SIP_LIB_DIR and
PYTHON_SIP_INCLUDE_DIR variables, and use them for the --destdir and
--incdir options.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/python-sip/python-sip.mk