Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source/creator/creator_args.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/creator/creator_args.c b/source/creator/creator_args.c
index a5b9df166a4..6ce3066ece1 100644
--- a/source/creator/creator_args.c
+++ b/source/creator/creator_args.c
@@ -1929,7 +1929,9 @@ static int arg_handle_python_use_system_env_set(int UNUSED(argc),
const char **UNUSED(argv),
void *UNUSED(data))
{
+# ifdef WITH_PYTHON
BPY_python_use_system_env();
+# endif
return 0;
}