瀏覽代碼

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

David Rose 15 年之前
父節點
當前提交
37d7b762d8
共有 1 個文件被更改,包括 3 次插入3 次删除
  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.
 // 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 USE_PACKAGES python openssl cg
   #define TARGET p3dpython
   #define TARGET p3dpython
 
 
@@ -269,7 +269,7 @@
 // the desktop.)
 // 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 USE_PACKAGES python openssl
   #define TARGET p3dpythonw
   #define TARGET p3dpythonw
   #define EXTRA_CDEFS NON_CONSOLE
   #define EXTRA_CDEFS NON_CONSOLE
@@ -316,7 +316,7 @@
 // desparation fallback in case forking fails for some reason.
 // 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 USE_PACKAGES python openssl cg
   #define TARGET libp3dpython
   #define TARGET libp3dpython
   #define LIB_PREFIX
   #define LIB_PREFIX