diff --git a/SConstruct b/SConstruct index 866e12b90..fa553546d 100644 --- a/SConstruct +++ b/SConstruct @@ -157,7 +157,7 @@ if not conf.CheckLibWithHeader('bz2', 'bzlib.h', 'CXX'): print "bz2 library not found. Exiting" Exit(-1) if GetOption('withtools') is not None: - if not conf.CheckLibWithHeader('gdal1.7.0', 'gdal/gdal.h', 'CXX'): + if not conf.CheckLibWithHeader('gdal', 'gdal/gdal.h', 'CXX'): print "gdal library not found. Exiting" Exit(-1) if not conf.CheckLibWithHeader('osmpbf', 'osmpbf/osmpbf.h', 'CXX'):