Browse Source

I don't think we want p3dpython unless HAVE_P3D_PLUGIN is defined

David Rose 15 years ago
parent
commit
37d7b762d8
1 changed files with 3 additions and 3 deletions
  1. 3 3
      direct/src/plugin/Sources.pp

+ 3 - 3
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