Ticket #13779: libgdal.patch
File libgdal.patch, 687 bytes (added by , 14 years ago) |
---|
-
django/contrib/gis/gdal/libgdal.py
14 14 lib_names = None 15 15 elif os.name == 'nt': 16 16 # Windows NT shared library 17 lib_names = ['gdal1 6', 'gdal15']17 lib_names = ['gdal17', 'gdal16', 'gdal15'] 18 18 elif os.name == 'posix': 19 19 # *NIX library names. 20 lib_names = ['gdal', 'GDAL', 'gdal1. 6.0', 'gdal1.5.0', 'gdal1.4.0']20 lib_names = ['gdal', 'GDAL', 'gdal1.7.0', 'gdal1.6.0', 'gdal1.5.0', 'gdal1.4.0'] 21 21 else: 22 22 raise OGRException('Unsupported OS "%s"' % os.name) 23 23