mail[Wesnoth-commits] r27501 - /trunk/scons/boost.py


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by loonycyborg on June 25, 2008 - 11:08:
Author: loonycyborg
Date: Wed Jun 25 09:43:35 2008
New Revision: 27501

URL: http://svn.gna.org/viewcvs/wesnoth?rev=27501&view=rev
Log:
Fixed scons crash when no boost_suffix is specified.

Modified:
    trunk/scons/boost.py

Modified: trunk/scons/boost.py
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/scons/boost.py?rev=27501&r1=27500&r2=27501&view=diff
==============================================================================
--- trunk/scons/boost.py (original)
+++ trunk/scons/boost.py Wed Jun 25 09:43:35 2008
@@ -9,7 +9,7 @@
         prefix, includefile = include[0]
         env["boostdir"] = join(prefix, "include")
         env["boostlibdir"] = join(prefix, "lib")
-        if not env["boost_suffix"]:
+        if not env.get("boost_suffix"):
             if glob(join(prefix, "lib", "libboost_*-mt.*")):
                 env["boost_suffix"] = "-mt"
             else:




Related Messages


Powered by MHonArc, Updated Wed Jun 25 13:42:51 2008