diff --git a/source/creator/creator_args.c b/source/creator/creator_args.c index 097d3f471fc..83edbe00399 100644 --- a/source/creator/creator_args.c +++ b/source/creator/creator_args.c @@ -2526,8 +2526,10 @@ void main_args_setup(bContext *C, bArgs *ba, bool all) # undef CB # undef CB_EX +# ifdef WITH_PYTHON /* Use for Python to extract help text (Python can't call directly - bad-level call). */ BPY_python_app_help_text_fn = main_args_help_as_string; +# endif } /**