# HG changeset patch # User chewie@33b003aa-7bff-0310-803a-e67f0ece8222 # Date 1290420134 0 # Node ID 6de4a0ad714faebdc2b2541e38f6577c15762cc9 # Parent 60621d858548beda965e048ff2c4fba9ba7c4503 - 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 ... diff -r 60621d858548 -r 6de4a0ad714f build/linux2-config.py --- 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):