From 69c37d8e25897b3a90b3716495e55a04cf7b973f Mon Sep 17 00:00:00 2001 From: Fabrice Fontaine Date: Sat, 20 Apr 2019 16:55:33 +0200 Subject: [PATCH] package/refpolicy: set python path Set python path to $(HOST_DIR)/usr/bin/python to avoid build failures if python3 found on host is broken Fixes: - http://autobuild.buildroot.org/results/1f878405593dd05bb00fe0b06ca1c64ffbe6c572 Signed-off-by: Fabrice Fontaine Signed-off-by: Thomas Petazzoni --- package/refpolicy/refpolicy.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/package/refpolicy/refpolicy.mk b/package/refpolicy/refpolicy.mk index 78c17bad01..1c3b1bc541 100644 --- a/package/refpolicy/refpolicy.mk +++ b/package/refpolicy/refpolicy.mk @@ -26,6 +26,7 @@ endif # Cannot use multiple threads to build the reference policy REFPOLICY_MAKE = \ + PYTHON=$(HOST_DIR)/usr/bin/python \ TEST_TOOLCHAIN=$(HOST_DIR) \ $(TARGET_MAKE_ENV) \ $(MAKE1)