mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-30 22:11:59 -09:00
package/gesftpserver: fix build without Python
The build of gesftserver in an environment without Python fails with:
checking for Python 2.4 or better... configure: error: cannot find Python 2.4 or better
However, it turns out that Python is only needed for tests, which we
don't run/use in Buildroot, so we can safely build gesftpserver
without Python.
Signed-off-by: Andreas Naumann <anaumann@ultratronik.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
(cherry picked from commit 422fd73fad)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
committed by
Peter Korsgaard
parent
f1b73bc704
commit
ac6fd37059
@@ -23,6 +23,10 @@ GESFTPSERVER_DEPENDENCIES += \
|
|||||||
$(if $(BR2_ENABLE_LOCALE),,libiconv) \
|
$(if $(BR2_ENABLE_LOCALE),,libiconv) \
|
||||||
$(if $(BR2_PACKAGE_OPENSSH),openssh)
|
$(if $(BR2_PACKAGE_OPENSSH),openssh)
|
||||||
|
|
||||||
|
# Python on the host is only used for tests, which we don't use in
|
||||||
|
# Buildroot
|
||||||
|
GESFTPSERVER_CONF_ENV += rjk_cv_python24=false
|
||||||
|
|
||||||
# openssh/dropbear looks here
|
# openssh/dropbear looks here
|
||||||
define GESFTPSERVER_ADD_SYMLINK
|
define GESFTPSERVER_ADD_SYMLINK
|
||||||
ln -sf gesftpserver $(TARGET_DIR)/usr/libexec/sftp-server
|
ln -sf gesftpserver $(TARGET_DIR)/usr/libexec/sftp-server
|
||||||
|
|||||||
Reference in New Issue
Block a user