diff --git a/direct/src/plugin/Sources.pp b/direct/src/plugin/Sources.pp index bbcf8901c4..c03c821f7e 100644 --- a/direct/src/plugin/Sources.pp +++ b/direct/src/plugin/Sources.pp @@ -220,7 +220,7 @@ // to invoke a particular instance of Panda. // - #define BUILD_TARGET $[and $[HAVE_PYTHON],$[HAVE_OPENSSL]] + #define BUILD_TARGET $[and $[HAVE_P3D_PLUGIN],$[HAVE_PYTHON],$[HAVE_OPENSSL]] #define USE_PACKAGES python openssl cg #define TARGET p3dpython @@ -269,7 +269,7 @@ // the desktop.) // - #define BUILD_TARGET $[and $[HAVE_PYTHON],$[HAVE_OPENSSL],$[WINDOWS_PLATFORM]] + #define BUILD_TARGET $[and $[HAVE_P3D_PLUGIN],$[HAVE_PYTHON],$[HAVE_OPENSSL],$[WINDOWS_PLATFORM]] #define USE_PACKAGES python openssl #define TARGET p3dpythonw #define EXTRA_CDEFS NON_CONSOLE @@ -316,7 +316,7 @@ // desparation fallback in case forking fails for some reason. // - #define BUILD_TARGET $[and $[HAVE_PYTHON],$[HAVE_OPENSSL]] + #define BUILD_TARGET $[and $[HAVE_P3D_PLUGIN],$[HAVE_PYTHON],$[HAVE_OPENSSL]] #define USE_PACKAGES python openssl cg #define TARGET libp3dpython #define LIB_PREFIX