diff options
-rw-r--r-- | SConstruct | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/SConstruct b/SConstruct index 9224696fc81..3e2f2b592c7 100644 --- a/SConstruct +++ b/SConstruct @@ -475,9 +475,10 @@ def doConfigure( myenv , needJava=True , needPcre=True , shell=False ): myenv["LINKFLAGS_CLEAN"] = list( myenv["LINKFLAGS"] ) myenv["LIBS_CLEAN"] = list( myenv["LIBS"] ) - if not conf.CheckCXX(): - print( "c++ compiled not installed!" ) - Exit(1) + if 'CheckCXX' in dir( conf ): + if not conf.CheckCXX(): + print( "c++ compiled not installed!" ) + Exit(1) if nix and not shell: if not conf.CheckLib( "stdc++" ): |