Author: soliton
Date: Sun Apr 6 18:47:51 2008
New Revision: 25635
URL: http://svn.gna.org/viewcvs/wesnoth?rev=25635&view=rev
Log:
* only add the python include if python is enabled
Modified:
trunk/SConstruct
Modified: trunk/SConstruct
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/SConstruct?rev=25635&r1=25634&r2=25635&view=diff
==============================================================================
--- trunk/SConstruct (original)
+++ trunk/SConstruct Sun Apr 6 18:47:51 2008
@@ -353,12 +353,13 @@
if env["python"]:
env["python"] = (float(sys.version[:3]) >= 2.4) and
conf.CheckLib('python'+sys.version[:3]) or Warning("Python >= 2.4 not found.
Python extensions will be disabled.")
+ env.Append(CPPPATH = ["/usr/include/python%s" % sys.version[:3]])
else:
have_client_prereqs = True
have_X = True
have_server_prereqs = True
-env.Append(CPPPATH = ["src", "/usr/include/python%s" % sys.version[:3]])
+env.Append(CPPPATH = ["src"])
boost_test_dyn_link = boost_auto_test = False
if 'test' in COMMAND_LINE_TARGETS:
_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits