configure: Make sure Python is available for static builds
We need Python to create files that reference the plugin constructors. Without it, empty files are created and plugins can't be loaded. Fixes #3349.
This commit is contained in:
parent
1f2c83db61
commit
1966f4332b
|
@ -1379,6 +1379,9 @@ AC_CACHE_CHECK(
|
|||
)
|
||||
if test "x$ss_cv_static_plugin_constructors" = xyes; then
|
||||
static_plugin_constructors=true
|
||||
if test "$PYTHON" = ":"; then
|
||||
AC_MSG_FAILURE([Python is required to resolve plugin constructors statically])
|
||||
fi
|
||||
fi
|
||||
|
||||
# ===============================================
|
||||
|
|
Loading…
Reference in New Issue