From ae5374854b2bdd46881ff6831bddb0fede2a90eb Mon Sep 17 00:00:00 2001 From: cournape Date: Wed, 3 Sep 2008 08:32:01 +0000 Subject: [PATCH] Add a CompileSharedObject builder for configure contexts. git-svn-id: http://scons.tigris.org/svn/scons/trunk@3334 fdb21ef1-2011-0410-befe-b5e4ea1792b1 --- src/engine/SCons/SConf.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/engine/SCons/SConf.py b/src/engine/SCons/SConf.py index 75128166..b9643071 100644 --- a/src/engine/SCons/SConf.py +++ b/src/engine/SCons/SConf.py @@ -827,6 +827,11 @@ class CheckContext: # TODO: should use self.vardict for $CC, $CPPFLAGS, etc. return not self.TryBuild(self.env.Object, text, ext) + def CompileSharedObject(self, text, ext): + self.sconf.cached = 1 + # TODO: should use self.vardict for $SHCC, $CPPFLAGS, etc. + return not self.TryBuild(self.env.SharedObject, text, ext) + def RunProg(self, text, ext): self.sconf.cached = 1 # TODO: should use self.vardict for $CC, $CPPFLAGS, etc. -- 2.26.2