From f5e4f20dc1439bee3a76e6a850e5af66acc09036 Mon Sep 17 00:00:00 2001 From: Ray Molenkamp Date: Thu, 2 Apr 2020 07:08:51 -0600 Subject: [PATCH] Fix: Build error when building with python off --- source/creator/creator_args.c | 2 ++ 1 file changed, 2 insertions(+) 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; }