]> git.lyx.org Git - features.git/commitdiff
fix a wrong scons fix due to the removal of /TP option
authorBo Peng <bpeng@lyx.org>
Tue, 21 Aug 2007 22:14:30 +0000 (22:14 +0000)
committerBo Peng <bpeng@lyx.org>
Tue, 21 Aug 2007 22:14:30 +0000 (22:14 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19708 a592a061-630c-0410-9148-cb99ea01b6c8

development/scons/scons_utils.py

index 7f3ca9861bb57895168f7af27ff0a3997d9056c1..1bfc8013cf02203a298303c474071867e9c7df09 100644 (file)
@@ -237,7 +237,7 @@ int main()
 '''
     conf.Message('Checking for the use of global cstd... ')
     # if can not compile, define CXX_GLOBAL_CSTD
-    ret = not conf.TryLink(check_global_cstd_source, '.c')
+    ret = conf.TryLink(check_global_cstd_source, '.cpp')
     conf.Result(ret)
     return ret