From cdbce11666c49c62c709579a0e095fbce0c20720 Mon Sep 17 00:00:00 2001 From: rdb Date: Tue, 19 Jan 2010 12:30:27 +0000 Subject: [PATCH] Don't link libpandagl without OpenGL --- makepanda/makepanda.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/makepanda/makepanda.py b/makepanda/makepanda.py index 77841e8ed9..fb1e38da83 100755 --- a/makepanda/makepanda.py +++ b/makepanda/makepanda.py @@ -3228,7 +3228,8 @@ if (not RTDIST and not RUNTIME): TargetAdd('pview.exe', input='pview_pview.obj') TargetAdd('pview.exe', input='libp3framework.dll') TargetAdd('pview.exe', input='libpandafx.dll') - TargetAdd('pview.exe', input='libpandagl.dll') + if (PkgSkip("OPENGL")==0): + TargetAdd('pview.exe', input='libpandagl.dll') TargetAdd('pview.exe', input='libpandaegg.dll') TargetAdd('pview.exe', input=COMMON_PANDA_LIBS_PYSTUB) TargetAdd('pview.exe', opts=['ADVAPI', 'WINSOCK2', 'WINSHELL'])