package/samba4: needs host-python3
host-python3 is a mandatory dependency since bump to version 4.10.0 and
5ddff307b4
because buildtools/bin/waf shebang is set to "/usr/bin/env python3"
Fixes:
- http://autobuild.buildroot.org/results/2634eb7824beb34f485cf40670f6959515f008ad
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
parent
0f4e69d843
commit
bf341117f6
@ -11,7 +11,7 @@ SAMBA4_INSTALL_STAGING = YES
|
|||||||
SAMBA4_LICENSE = GPL-3.0+
|
SAMBA4_LICENSE = GPL-3.0+
|
||||||
SAMBA4_LICENSE_FILES = COPYING
|
SAMBA4_LICENSE_FILES = COPYING
|
||||||
SAMBA4_DEPENDENCIES = \
|
SAMBA4_DEPENDENCIES = \
|
||||||
host-e2fsprogs host-heimdal host-nfs-utils \
|
host-e2fsprogs host-heimdal host-nfs-utils host-python3 \
|
||||||
cmocka e2fsprogs gnutls popt zlib \
|
cmocka e2fsprogs gnutls popt zlib \
|
||||||
$(if $(BR2_PACKAGE_LIBAIO),libaio) \
|
$(if $(BR2_PACKAGE_LIBAIO),libaio) \
|
||||||
$(if $(BR2_PACKAGE_LIBCAP),libcap) \
|
$(if $(BR2_PACKAGE_LIBCAP),libcap) \
|
||||||
@ -25,14 +25,11 @@ SAMBA4_CONF_ENV = \
|
|||||||
XSLTPROC=false \
|
XSLTPROC=false \
|
||||||
WAF_NO_PREFORK=1
|
WAF_NO_PREFORK=1
|
||||||
|
|
||||||
|
SAMBA4_PYTHON = PYTHON="$(HOST_DIR)/bin/python3"
|
||||||
ifeq ($(BR2_PACKAGE_PYTHON3),y)
|
ifeq ($(BR2_PACKAGE_PYTHON3),y)
|
||||||
SAMBA4_PYTHON = \
|
SAMBA4_PYTHON += PYTHON_CONFIG="$(STAGING_DIR)/usr/bin/python3-config"
|
||||||
PYTHON="$(HOST_DIR)/bin/python3" \
|
SAMBA4_DEPENDENCIES += python3
|
||||||
PYTHON_CONFIG="$(STAGING_DIR)/usr/bin/python3-config"
|
|
||||||
SAMBA4_DEPENDENCIES += host-python3 python3
|
|
||||||
else
|
else
|
||||||
SAMBA4_PYTHON = PYTHON="$(HOST_DIR)/bin/python2"
|
|
||||||
SAMBA4_DEPENDENCIES += host-python
|
|
||||||
SAMBA4_CONF_OPTS += --disable-python
|
SAMBA4_CONF_OPTS += --disable-python
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user