From: Arran Cudbard-Bell Date: Thu, 17 Dec 2020 06:26:07 +0000 (-0600) Subject: More build fixes X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9cbb7594a75138db20271b05b6e2a4ae89220a51;p=thirdparty%2Ffreeradius-server.git More build fixes --- diff --git a/scripts/ci/build.sh b/scripts/ci/build.sh index 4e0e49152c7..de4a2be5216 100755 --- a/scripts/ci/build.sh +++ b/scripts/ci/build.sh @@ -36,8 +36,7 @@ CFLAGS="${BUILD_CFLAGS}" ./configure -C \ --with-threads=$LIBS_OPTIONAL \ --with-udpfromto=$LIBS_OPTIONAL \ --with-openssl=$LIBS_OPTIONAL \ - --with-pcre=$LIBS_OPTIONAL \ - --with-rlm-python-bin=/usr/bin/python2.7 \ + --with-pcre=$LIBS_OPTIONAL || cat ./config.log echo "Contents of src/include/autoconf.h" diff --git a/src/modules/rlm_python/rlm_python.c b/src/modules/rlm_python/rlm_python.c index 81712e2969b..de5cdc19119 100644 --- a/src/modules/rlm_python/rlm_python.c +++ b/src/modules/rlm_python/rlm_python.c @@ -863,7 +863,7 @@ static PyObject *python_module_init(void) NULL, /* m_free */ }; - fr_assert(inst && conf); + fr_assert(inst); module = PyModule_Create(&py_module_def); if (!module) {