SCons: fix a small bug in scons_utils.py

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14388 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Bo Peng 2006-07-08 22:42:09 +00:00
parent ae348f8af9
commit 7dcf1bdb26

View File

@ -191,7 +191,7 @@ def checkBoostLibraries(conf, libs, lib_paths, inc_paths, version, isDebug):
print 'Warning: Can not find an appropriate boost library in %s.' % path
lib_files = filter(lambda x: re.search('libboost_%s-[\w-]+%s.a' % (lib, version), x), files)
if len(lib_files) > 0:
print 'Use library ' % lib_files[0]
print 'Use library %s' % lib_files[0]
if len(lib_files) > 0:
# get xxx-gcc-1_33_1 from /usr/local/lib/libboost_xxx-gcc-1_33_1.a
lib_names.append(lib_files[0].split(os.sep)[-1][3:-2])