From b717dfefdcc71abdc2eb4a8c2579c4bd5a9a4205 Mon Sep 17 00:00:00 2001 From: rdb Date: Fri, 3 Sep 2010 18:57:30 +0000 Subject: [PATCH] Fix compile error when building with --use-python --no-direct --- makepanda/makepanda.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/makepanda/makepanda.py b/makepanda/makepanda.py index bacaef0f9c..b21bc91c03 100755 --- a/makepanda/makepanda.py +++ b/makepanda/makepanda.py @@ -4598,11 +4598,12 @@ if (PkgSkip("PYTHON")==0 and not RUNTIME): TargetAdd('PandaModules.py', input='libpanda.dll') TargetAdd('PandaModules.py', input='libpandaphysics.dll') TargetAdd('PandaModules.py', input='libpandafx.dll') - TargetAdd('PandaModules.py', input='libp3direct.dll') + if (PkgSkip("DIRECT")==0): + TargetAdd('PandaModules.py', input='libp3direct.dll') TargetAdd('PandaModules.py', input='libp3vision.dll') TargetAdd('PandaModules.py', input='libpandaskel.dll') TargetAdd('PandaModules.py', input='libpandaegg.dll') - if (PkgSkip("AWESOMIUM")== 0): + if (PkgSkip("AWESOMIUM")==0): TargetAdd('PandaModules.py', input='libp3awesomium.dll') if (PkgSkip("ODE")==0): TargetAdd('PandaModules.py', input='libpandaode.dll')