Changeset 1224
- Timestamp:
- 07/08/09 17:08:13 (14 months ago)
- Files:
-
- 1 modified
-
trunk/SConstruct (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/SConstruct
r1220 r1224 61 61 else: 62 62 color_print(1,'Problem encounted with SCons scripts, please post bug report to: http://trac.mapnik.org\nError was: %s' % stderr) 63 64 def shortest_name(libs): 65 name = '-'*200 66 for lib in libs: 67 if len(name) > len(lib): 68 name = lib 69 return name 63 70 64 71 if platform.uname()[4] == 'x86_64': … … 375 382 BOOST_LIB_DIR = os.path.dirname(libItems[0]) 376 383 BOOST_INCLUDE_DIR = incItems[0].rstrip('boost/') 377 match = re.search(r'libboost_filesystem-(.*)\..*', libItems[0]) 384 shortest_lib_name = shortest_name(libItems) 385 match = re.search(r'libboost_filesystem-(.*)\..*', shortest_lib_name) 378 386 if hasattr(match,'groups'): 379 387 BOOST_APPEND = match.groups()[0]
