2
0
Эх сурвалжийг харах

support for LINK_ALL_STATIC

David Rose 16 жил өмнө
parent
commit
a944e44c60

+ 8 - 0
direct/src/directbase/Sources.pp

@@ -9,4 +9,12 @@
   #define INSTALL_HEADERS \
     directbase.h directsymbols.h
 
+  // These libraries and frameworks are used by dtoolutil; we redefine
+  // them here so they get into the panda build system.
+  #if $[ne $[PLATFORM], FreeBSD]
+    #define UNIX_SYS_LIBS dl
+  #endif
+  #define WIN_SYS_LIBS shell32.lib
+  #define OSX_SYS_FRAMEWORKS Foundation $[if $[not $[BUILD_IPHONE]],AppKit]
+
 #end lib_target