From: Adam Duskett Date: Thu, 19 Oct 2017 21:46:03 +0000 (-0400) Subject: setools: change sepol library directory X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b91d77892b3b226c02a2af691766407e5fe109a3;p=buildroot.git setools: change sepol library directory setools currently points the libsepol library directory to $(STAGING_DIR)/lib/ when it should be $(STAGING_DIR)/usr/lib Signed-off-by: Adam Duskett Tested-by: Matt Weber Signed-off-by: Thomas Petazzoni --- diff --git a/package/setools/setools.mk b/package/setools/setools.mk index 80d58235d3..8b93ccf45e 100644 --- a/package/setools/setools.mk +++ b/package/setools/setools.mk @@ -24,7 +24,7 @@ endif 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. - $(SED) "s@base_lib_dirs =.*@base_lib_dirs = ['$(STAGING_DIR)/lib']@g" \ + $(SED) "s@base_lib_dirs =.*@base_lib_dirs = ['$(STAGING_DIR)/usr/lib']@g" \ $(@D)/setup.py endef SETOOLS_POST_PATCH_HOOKS += SETOOLS_FIX_SETUP