Browse Source

TARGET_LIBS

cxgeorge 24 years ago
parent
commit
e56cd6aabd
2 changed files with 3 additions and 3 deletions
  1. 1 1
      dtool/pptempl/Global.pp
  2. 2 2
      panda/metalibs/pandadx/Sources.pp

+ 1 - 1
dtool/pptempl/Global.pp

@@ -569,7 +569,7 @@
 // space-separated set of library names only; the -l switch is not
 // included here.
 #defun get_libs
-  #define alt_libs $[stl_libs] $[nspr_libs] $[python_libs]
+  #define alt_libs $[stl_libs] $[nspr_libs] $[python_libs] $[TARGET_LIBS]
   
   #if $[ne $[USE_CRYPTO] $[components $[USE_CRYPTO],$[active_component_libs] $[transitive_link]],]
     #set alt_libs $[alt_libs] $[crypto_libs]

+ 2 - 2
panda/metalibs/pandadx/Sources.pp

@@ -16,6 +16,6 @@
 
 #begin metalib_target
   #define TARGET pandadx
-
-  #define SOURCES pandadx.cxx
+  #define SOURCES pandadx.cxx  
+  #define TARGET_LIBS ddraw.lib d3dim.lib
 #end metalib_target