diff build/linux2-config.py @ 681:6de4a0ad714f

- fixed fedora hack - added lib prefix to some libraries (for ubuntu) NOTE: - platform.platform().find("fedora") returns -1 if "fedora" is not found, which results in True (bool(-1) -> True) for the if clause - which then adds the hack for all platforms ...
author chewie@33b003aa-7bff-0310-803a-e67f0ece8222
date Mon, 22 Nov 2010 10:02:14 +0000
parents 20d1d695bf47
children be625cdff350
line wrap: on
line diff
--- a/build/linux2-config.py	Sun Nov 21 15:58:14 2010 +0000
+++ b/build/linux2-config.py	Mon Nov 22 10:02:14 2010 +0000
@@ -76,12 +76,13 @@
 			('SDL_image', 'SDL_image.h'),
 			('guichan', 'guichan.hpp'),
 			('guichan_sdl', ''),
-			(('boost_filesystem', 'boost_filesystem-gcc', 'boost_filesystem-gcc41', 'boost_filesystem-mt'), 'boost/filesystem.hpp'),
-			(('boost_regex', 'boost_regex-gcc', 'boost_regex-gcc41', 'boost_regex-mt'), 'boost/regex.hpp'),
+			(('boost_filesystem', 'boost_filesystem-gcc', 'boost_filesystem-gcc41', 'boost_filesystem-mt', 'libboost_filesystem-mt'), 'boost/filesystem.hpp'),
+			(('boost_regex', 'boost_regex-gcc', 'boost_regex-gcc41', 'boost_regex-mt', 'libboost_regex-mt'), 'boost/regex.hpp'),
 			('png', 'png.h'),
 			('Xcursor', '')]
-	
-	if platform.platform().find('fedora'):
+
+	# fedora hack
+	if 'fedora' in platform.platform():	
 		libs.insert(0,('boost_system', ''))
 
 	if (opengl):