From: Fabrice Fontaine Date: Sat, 20 Apr 2019 14:55:33 +0000 (+0200) Subject: package/refpolicy: set python path X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=69c37d8e25897b3a90b3716495e55a04cf7b973f;p=buildroot.git 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 --- 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)