From d66ff1a325010770d568493e86467c6e1ca71627 Mon Sep 17 00:00:00 2001 From: rdb Date: Thu, 25 Mar 2010 15:17:37 +0000 Subject: [PATCH] Fix compilation error with awesomium --- makepanda/makepanda.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/makepanda/makepanda.py b/makepanda/makepanda.py index 15acbe40fd..88b0966989 100755 --- a/makepanda/makepanda.py +++ b/makepanda/makepanda.py @@ -4519,7 +4519,7 @@ if (PkgSkip("CONTRIB")==0 and not RUNTIME): # Run genpycode # -if (PkgSkip("PYTHON")==0): +if (PkgSkip("PYTHON")==0 and not RUNTIME): # We're phasing out the concept of PandaModules, so do not # add new libraries here. See direct/src/ffi/panda3d.py TargetAdd('PandaModules.py', input='libpandaexpress.dll') @@ -4528,9 +4528,10 @@ if (PkgSkip("PYTHON")==0): TargetAdd('PandaModules.py', input='libpandafx.dll') TargetAdd('PandaModules.py', input='libp3direct.dll') TargetAdd('PandaModules.py', input='libp3vision.dll') - TargetAdd('PandaModules.py', input='libp3awesomium.dll') TargetAdd('PandaModules.py', input='libpandaskel.dll') TargetAdd('PandaModules.py', input='libpandaegg.dll') + if (PkgSkip("AWESOMIUM")== 0): + TargetAdd('PandaModules.py', input='libp3awesomium.dll') if (PkgSkip("ODE")==0): TargetAdd('PandaModules.py', input='libpandaode.dll')