mapnik (0.7.1-3) 02-fix_FTBFS_binutils-gold.patch

Summary

 utils/shapeindex/SConscript |    6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

    
download this patch

Patch contents

From: David Paleino <dapal@debian.org>
Subject: unconditionally add boost-system to linked libraries
Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=555586
Forwarded: no

---
 utils/shapeindex/SConscript |    6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

--- mapnik.orig/utils/shapeindex/SConscript
+++ mapnik/utils/shapeindex/SConscript
@@ -39,13 +39,9 @@ headers = ['#plugins/input/shape'] + env
 boost_program_options = 'boost_program_options%s' % env['BOOST_APPEND']
 boost_iostreams  = 'boost_iostreams%s' % env['BOOST_APPEND']
 boost_filesystem = 'boost_filesystem%s' % env['BOOST_APPEND']
-libraries =  [boost_program_options,boost_iostreams,boost_filesystem]
-
 boost_system = 'boost_system%s' % env['BOOST_APPEND']
 
-if env['HAS_BOOST_SYSTEM']:
-    libraries.append(boost_system)
-
+libraries =  [boost_program_options,boost_iostreams,boost_filesystem,boost_system]
 
 shapeindex = env.Program('shapeindex', source, CPPPATH=headers, LIBS=libraries)