package/libsemanage: fix build with python 3.8
authorFabrice Fontaine <fontaine.fabrice@gmail.com>
Mon, 28 Oct 2019 12:53:21 +0000 (13:53 +0100)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Mon, 28 Oct 2019 13:04:59 +0000 (14:04 +0100)
Fixes:
 - http://autobuild.buildroot.net/results/ad1f033def500b4354dc6261c8411f83420c409d

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/libsemanage/libsemanage.mk

index bd1e01febf54536ca1ce9b574889364226a031d5..fd9034604936d16021200c4fb2e240fbfd62e508 100644 (file)
@@ -42,7 +42,7 @@ HOST_LIBSEMANAGE_MAKE_OPTS += \
 ifeq ($(BR2_PACKAGE_PYTHON3),y)
 HOST_LIBSEMANAGE_DEPENDENCIES += host-python3
 HOST_LIBSEMANAGE_MAKE_OPTS += \
-       PYINC="-I$(HOST_DIR)/include/python$(PYTHON3_VERSION_MAJOR)m/" \
+       PYINC="-I$(HOST_DIR)/include/python$(PYTHON3_VERSION_MAJOR)/" \
        PYTHONLIBDIR="$(HOST_DIR)/lib/python$(PYTHON3_VERSION_MAJOR)/" \
        PYLIBVER="python$(PYTHON3_VERSION_MAJOR)"
 else