Author: esr
Date: Sat Mar 22 19:00:47 2008
New Revision: 24989
URL: http://svn.gna.org/viewcvs/wesnoth?rev=24989&view=rev
Log:
Change link order to put system libaries last.
Modified:
trunk/src/SConstruct
Modified: trunk/src/SConstruct
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/src/SConstruct?rev=24989&r1=24988&r2=24989&view=diff
==============================================================================
--- trunk/src/SConstruct (original)
+++ trunk/src/SConstruct Sat Mar 22 19:00:47 2008
@@ -160,7 +160,7 @@
]
env.Program("wesnoth", wesnoth_sources,
CPPPATH = ['.', 'server', "/usr/include/SDL"],
- LIBS = commonlibs + ['wesnoth_core', 'wesnoth'],
+ LIBS = ['wesnoth_core', 'wesnoth'] + commonlibs,
LIBPATH = [".", "src", "/lib", "/usr/lib"])
wesnoth_editor_sources = [
@@ -177,7 +177,7 @@
]
env.Program("wesnoth_editor", wesnoth_editor_sources,
CPPPATH = ['.', 'server', "/usr/include/SDL"],
- LIBS = commonlibs + ['wesnoth_core', 'wesnoth'],
+ LIBS = ['wesnoth_core', 'wesnoth'] + commonlibs,
LIBPATH = [".", "src", "/lib", "/usr/lib"])
campaignd_sources = [
@@ -187,7 +187,7 @@
]
env.Program("campaignd", campaignd_sources,
CPPPATH = ['.', 'server', "/usr/include/SDL"],
- LIBS = commonlibs + ['wesnoth_core', 'wesnoth'],
+ LIBS = ['wesnoth_core', 'wesnoth'] + commonlibs,
LIBPATH = [".", "src", "/lib", "/usr/lib"])
wesnothd_sources = [
@@ -202,7 +202,7 @@
]
env.Program("wesnothd", wesnothd_sources,
CPPPATH = ['.', 'server', "/usr/include/SDL"],
- LIBS = commonlibs + ['wesnoth_core'],
+ LIBS = ['wesnoth_core'] + commonlibs,
LIBPATH = [".", "src", "/lib", "/usr/lib"])
# FIXME: Include this in gameconfig.cpp when we switch over to scons.
_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits