浏览代码

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 <Adamduskett@outlook.com>
Tested-by: Matt Weber <matthew.weber@rockwellcollins.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Adam Duskett 7 年之前
父节点
当前提交
b91d77892b
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      package/setools/setools.mk

+ 1 - 1
package/setools/setools.mk

@@ -24,7 +24,7 @@ endif
 define SETOOLS_FIX_SETUP
 define SETOOLS_FIX_SETUP
 	# By default, setup.py will look for libsepol.a in the host machines
 	# 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.
 	# /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
 		$(@D)/setup.py
 endef
 endef
 SETOOLS_POST_PATCH_HOOKS += SETOOLS_FIX_SETUP
 SETOOLS_POST_PATCH_HOOKS += SETOOLS_FIX_SETUP