Browse Source

makepanda: link libpandagl into pview when using --static

rdb 7 years ago
parent
commit
223c532ce7
1 changed files with 3 additions and 0 deletions
  1. 3 0
      makepanda/makepanda.py

+ 3 - 0
makepanda/makepanda.py

@@ -5072,6 +5072,9 @@ if (not RTDIST and not RUNTIME and PkgSkip("PVIEW")==0):
   TargetAdd('pview.exe', input=COMMON_PANDA_LIBS)
   TargetAdd('pview.exe', input=COMMON_PANDA_LIBS)
   TargetAdd('pview.exe', opts=['ADVAPI', 'WINSOCK2', 'WINSHELL'])
   TargetAdd('pview.exe', opts=['ADVAPI', 'WINSOCK2', 'WINSHELL'])
 
 
+  if GetLinkAllStatic() and not PkgSkip("GL"):
+    TargetAdd('pview.exe', input='libpandagl.dll')
+
 #
 #
 # DIRECTORY: panda/src/android/
 # DIRECTORY: panda/src/android/
 #
 #