Browse Source

build with link_all_static

David Rose 16 years ago
parent
commit
4f005fbfb5
1 changed files with 5 additions and 2 deletions
  1. 5 2
      direct/src/plugin/Sources.pp

+ 5 - 2
direct/src/plugin/Sources.pp

@@ -1,6 +1,6 @@
 // This directory is still experimental.  Define HAVE_P3D_PLUGIN in
 // This directory is still experimental.  Define HAVE_P3D_PLUGIN in
 // your Config.pp to build it.
 // your Config.pp to build it.
-#define BUILD_DIRECTORY $[and $[HAVE_P3D_PLUGIN],$[HAVE_PYTHON],$[HAVE_TINYXML],$[HAVE_OPENSSL],$[HAVE_ZLIB],$[HAVE_TAR]]
+#define BUILD_DIRECTORY $[and $[HAVE_P3D_PLUGIN],$[HAVE_TINYXML],$[HAVE_OPENSSL],$[HAVE_ZLIB],$[HAVE_TAR]]
 
 
 #begin lib_target
 #begin lib_target
   #define USE_PACKAGES tinyxml openssl zlib tar
   #define USE_PACKAGES tinyxml openssl zlib tar
@@ -36,6 +36,7 @@
 #end lib_target
 #end lib_target
 
 
 #begin bin_target
 #begin bin_target
+  #define BUILD_TARGET $[HAVE_PYTHON]
   #define USE_PACKAGES tinyxml python
   #define USE_PACKAGES tinyxml python
   #define TARGET p3dpython
   #define TARGET p3dpython
 
 
@@ -57,7 +58,7 @@
 #end bin_target
 #end bin_target
 
 
 #begin bin_target
 #begin bin_target
-  #define USE_PACKAGES openssl
+  #define USE_PACKAGES openssl zlib tar
   #define TARGET panda3d
   #define TARGET panda3d
 
 
   #define OTHER_LIBS \
   #define OTHER_LIBS \
@@ -68,6 +69,8 @@
     pipeline:c panda:m \
     pipeline:c panda:m \
     pystub
     pystub
 
 
+  #define OSX_SYS_FRAMEWORKS Foundation AppKit
+
   #define SOURCES \
   #define SOURCES \
     panda3d.cxx
     panda3d.cxx