Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] package/cracklib: Force usage of buildroot python2 binary
@ 2020-05-19 13:47 Stefan Sørensen
  2020-05-19 19:01 ` Yann E. MORIN
  0 siblings, 1 reply; 2+ messages in thread
From: Stefan Sørensen @ 2020-05-19 13:47 UTC (permalink / raw)
  To: buildroot

Fixes:
  http://autobuild.buildroot.net/results/638f2e67b20d99994f1ccc08a9ecc32a2e3c3a40

Signed-off-by: Stefan S?rensen <stefan.sorensen@spectralink.com>
---
 package/cracklib/cracklib.mk | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/package/cracklib/cracklib.mk b/package/cracklib/cracklib.mk
index 91d510ff34..f17c717025 100644
--- a/package/cracklib/cracklib.mk
+++ b/package/cracklib/cracklib.mk
@@ -21,7 +21,8 @@ endif
 
 ifeq ($(BR2_PACKAGE_PYTHON),y)
 CRACKLIB_CONF_OPTS += --with-python
-CRACKLIB_DEPENDENCIES += python
+CRACKLIB_DEPENDENCIES += python host-python
+CRACKLIB_CONF_ENV += PYTHON=$(HOST_DIR)/bin/python2
 else
 CRACKLIB_CONF_OPTS += --without-python
 endif
-- 
2.25.4

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-05-19 19:01 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-05-19 13:47 [Buildroot] [PATCH] package/cracklib: Force usage of buildroot python2 binary Stefan Sørensen
2020-05-19 19:01 ` Yann E. MORIN

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox