From 7f606d76a30f837590e270aa15fc541a1e0c6f14 Mon Sep 17 00:00:00 2001 From: Arnout Vandecappelle Date: Wed, 5 Jul 2017 13:14:48 +0200 Subject: [PATCH] sepolgen: strip /usr/ part from HOST_DIR sepolgen is a bit weird: DESTDIR acts as a kind of prefix, PYTHONLIBDIR is relative to it (and a / is added between them). Signed-off-by: Arnout Vandecappelle (Essensium/Mind) Cc: Adam Duskett Cc: Clayton Shotwell Cc: Matthew Weber Signed-off-by: Thomas Petazzoni --- package/sepolgen/sepolgen.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package/sepolgen/sepolgen.mk b/package/sepolgen/sepolgen.mk index 033b468f02..ab7f18d857 100644 --- a/package/sepolgen/sepolgen.mk +++ b/package/sepolgen/sepolgen.mk @@ -30,11 +30,11 @@ endef ifeq ($(BR2_PACKAGE_PYTHON3),y) HOST_SEPOLGEN_DEPENDENCIES = host-python3 HOST_SEPOLGEN_MAKE_CMDS = $(HOST_CONFIGURE_OPTS) \ - PYTHONLIBDIR=/usr/lib/python$(PYTHON3_VERSION_MAJOR)/site-packages + PYTHONLIBDIR=lib/python$(PYTHON3_VERSION_MAJOR)/site-packages else HOST_SEPOLGEN_DEPENDENCIES = host-python HOST_SEPOLGEN_MAKE_CMDS = $(HOST_CONFIGURE_OPTS) \ - PYTHONLIBDIR=/usr/lib/python$(PYTHON_VERSION_MAJOR)/site-packages + PYTHONLIBDIR=lib/python$(PYTHON_VERSION_MAJOR)/site-packages endif define HOST_SEPOLGEN_BUILD_CMDS -- 2.30.2