All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH v2 1/1] package/gesftpserver: Fix per-package build without Python
@ 2021-06-24 12:32 Andreas Naumann
  2021-06-26 13:05 ` Thomas Petazzoni
  0 siblings, 1 reply; 4+ messages in thread
From: Andreas Naumann @ 2021-06-24 12:32 UTC (permalink / raw)
  To: buildroot

When building per-package in an environment without Python, the gesftpserver
configure script dies when looking for Python support.
The configure script is happy (doesnt check and wont error out) when being
told that Python is not available, so we hack around this by setting the
appropriate env variable.

Signed-off-by: Andreas Naumann <anaumann@ultratronik.de>
---
 package/gesftpserver/gesftpserver.mk | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/package/gesftpserver/gesftpserver.mk b/package/gesftpserver/gesftpserver.mk
index 85511a3c97..a261719610 100644
--- a/package/gesftpserver/gesftpserver.mk
+++ b/package/gesftpserver/gesftpserver.mk
@@ -23,6 +23,8 @@ GESFTPSERVER_DEPENDENCIES += \
 	$(if $(BR2_ENABLE_LOCALE),,libiconv) \
 	$(if $(BR2_PACKAGE_OPENSSH),openssh)
 
+GESFTPSERVER_CONF_ENV += rjk_cv_python24=false
+
 # openssh/dropbear looks here
 define GESFTPSERVER_ADD_SYMLINK
 	ln -sf gesftpserver $(TARGET_DIR)/usr/libexec/sftp-server
-- 
2.32.0

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

end of thread, other threads:[~2021-07-11 17:23 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-06-24 12:32 [Buildroot] [PATCH v2 1/1] package/gesftpserver: Fix per-package build without Python Andreas Naumann
2021-06-26 13:05 ` Thomas Petazzoni
2021-06-28  8:27   ` Andreas Naumann
2021-07-11 17:23   ` Peter Korsgaard

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.