mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-19 16:40:46 -09:00
package/freeradius-server: fix python handling
python handling is wrong since the addition of the package in commit736c4c1655so disable python(2) and enable python3 if needed Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com> (cherry picked from commit4513f5198a) Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
committed by
Peter Korsgaard
parent
182f767ad9
commit
c07d5a4db1
@@ -46,6 +46,7 @@ FREERADIUS_SERVER_CONF_OPTS += \
|
|||||||
--without-rlm_eap_ike \
|
--without-rlm_eap_ike \
|
||||||
--without-rlm_eap_tnc \
|
--without-rlm_eap_tnc \
|
||||||
--without-rlm_perl \
|
--without-rlm_perl \
|
||||||
|
--without-rlm_python \
|
||||||
--without-rlm_sql_iodbc \
|
--without-rlm_sql_iodbc \
|
||||||
--without-rlm_sql_oracle \
|
--without-rlm_sql_oracle \
|
||||||
--without-rlm_sql_freetds \
|
--without-rlm_sql_freetds \
|
||||||
@@ -148,10 +149,10 @@ FREERADIUS_SERVER_CONF_OPTS += --without-pcre
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(BR2_PACKAGE_PYTHON3),y)
|
ifeq ($(BR2_PACKAGE_PYTHON3),y)
|
||||||
FREERADIUS_SERVER_CONF_OPTS += --with-rlm_python
|
FREERADIUS_SERVER_CONF_OPTS += --with-rlm_python3
|
||||||
FREERADIUS_SERVER_DEPENDENCIES += python3
|
FREERADIUS_SERVER_DEPENDENCIES += python3
|
||||||
else
|
else
|
||||||
FREERADIUS_SERVER_CONF_OPTS += --without-rlm_python
|
FREERADIUS_SERVER_CONF_OPTS += --without-rlm_python3
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(BR2_PACKAGE_READLINE),y)
|
ifeq ($(BR2_PACKAGE_READLINE),y)
|
||||||
|
|||||||
Reference in New Issue
Block a user