Skip to content

Commit 096c465

Browse files
committed
Fixed #13779 -- Can now discover GDAL 1.7 from debian-based packages. Thanks to Leo for bug report and patch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@13396 bcc190cf-cafb-0310-a4f2-bffc1f526a37
1 parent 5ff262e commit 096c465

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

django/contrib/gis/gdal/libgdal.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@
1414
lib_names = None
1515
elif os.name == 'nt':
1616
# Windows NT shared library
17-
lib_names = ['gdal16', 'gdal15']
17+
lib_names = ['gdal17', 'gdal16', 'gdal15']
1818
elif os.name == 'posix':
1919
# *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']
2121
else:
2222
raise OGRException('Unsupported OS "%s"' % os.name)
2323

0 commit comments

Comments
 (0)