Message ID | 1517954045-19326-1-git-send-email-matthew.weber@rockwellcollins.com |
---|---|
State | Superseded |
Headers | show |
Series | setools: set package include path | expand |
All, On Tue, Feb 6, 2018 at 10:54 PM, Matt Weber <matthew.weber@rockwellcollins.com> wrote: > 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@rockwellcollins.com> Superseded by: https://patchwork.ozlabs.org/patch/870133/
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.
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@rockwellcollins.com> --- package/setools/setools.mk | 3 +++ 1 file changed, 3 insertions(+)