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:
authorRay Molenkamp <github@lazydodo.com>2020-04-02 16:08:51 +0300
committerRay Molenkamp <github@lazydodo.com>2020-04-02 16:08:51 +0300
commitf5e4f20dc1439bee3a76e6a850e5af66acc09036 (patch)
tree553caad7d8a5bcda4e7a157de6057a7f85579403 /source/creator
parentfa8a3c8f26f4eeb09d5d8b2792d32887be4fe111 (diff)
Fix: Build error when building with python off
Diffstat (limited to 'source/creator')
-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;
}