]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
More build fixes
authorArran Cudbard-Bell <a.cudbardb@freeradius.org>
Thu, 17 Dec 2020 06:26:07 +0000 (00:26 -0600)
committerArran Cudbard-Bell <a.cudbardb@freeradius.org>
Thu, 17 Dec 2020 06:26:07 +0000 (00:26 -0600)
scripts/ci/build.sh
src/modules/rlm_python/rlm_python.c

index 4e0e49152c7a40c147adb8000d3a19a4ca45db51..de4a2be5216424ab93f8d0c7ad506b6adf8cd234 100755 (executable)
@@ -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"
index 81712e2969b162bc5caf28a75d5ddaadaadbaeb9..de5cdc191191fe29c5b1c0c467d475427aa6cea4 100644 (file)
@@ -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) {