diff --git a/dtool/pptempl/Global.pp b/dtool/pptempl/Global.pp index 3fe763ea36..f50d2cf9e3 100644 --- a/dtool/pptempl/Global.pp +++ b/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] diff --git a/panda/metalibs/pandadx/Sources.pp b/panda/metalibs/pandadx/Sources.pp index 7cab219aca..edb98c90b2 100644 --- a/panda/metalibs/pandadx/Sources.pp +++ b/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