makepanda: link libpandagl into pview when using --static

This commit is contained in:
rdb 2018-11-09 11:42:18 +01:00
parent 0581e414a4
commit 223c532ce7

View File

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