Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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
  • Loading branch information...
commit 096c465358a89839e43de5afe74d11d0ef6d8dea 1 parent 5ff262e
Justin Bronn authored June 23, 2010

Showing 1 changed file with 2 additions and 2 deletions. Show diff stats Hide diff stats

  1. 4  django/contrib/gis/gdal/libgdal.py
4  django/contrib/gis/gdal/libgdal.py
@@ -14,10 +14,10 @@
14 14
     lib_names = None
15 15
 elif os.name == 'nt':
16 16
     # Windows NT shared library
17  
-    lib_names = ['gdal16', '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
 

0 notes on commit 096c465

Please sign in to comment.
Something went wrong with that request. Please try again.