[Buildroot] [PATCH] setools: set package include path
Matt Weber
matthew.weber at rockwellcollins.com
Tue Feb 6 21:54:05 UTC 2018
With per-package host/staging, the setuptools include path will
point at the python package's include folder and not the common
sysroot/hostdir location. So this patch updates to explicitly
point at the respective folder for the target vs host.
Signed-off-by: Matthew Weber <matthew.weber at rockwellcollins.com>
---
package/setools/setools.mk | 3 +++
1 file changed, 3 insertions(+)
diff --git a/package/setools/setools.mk b/package/setools/setools.mk
index 6748c95..a719ea6 100644
--- a/package/setools/setools.mk
+++ b/package/setools/setools.mk
@@ -20,6 +20,9 @@ SETOOLS_PYLIBVER = python$(PYTHON_VERSION_MAJOR)
SETOOLS_DEPENDENCIES += python-enum34
endif
+SETOOLS_ENV += SEPOL_SRC=$(STAGING_DIR)
+HOST_SETOOLS_ENV += SEPOL_SRC=$(HOST_DIR)
+
define SETOOLS_FIX_SETUP
# By default, setup.py will look for libsepol.a in the host machines
# /usr/lib directory. This needs to be changed to the staging directory.
--
1.9.1
More information about the buildroot
mailing list