summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Bronn <jbronn@gmail.com>2009-06-12 17:19:19 +0000
committerJustin Bronn <jbronn@gmail.com>2009-06-12 17:19:19 +0000
commit1ff9ec9f126e3a4346ec2fd07038b00b37952b74 (patch)
tree9c2b702fa2319e48a98eb86f0dfa2e0fcda2b002
parentb9952794c387430e7c03510ad1a0db2497f1baf2 (diff)
[1.0.X] Fixed support for GDAL 1.6 on Windows. Thanks to jtia for spotting this.
Backport of r10985 from trunk. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10986 bcc190cf-cafb-0310-a4f2-bffc1f526a37
-rw-r--r--django/contrib/gis/gdal/libgdal.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/django/contrib/gis/gdal/libgdal.py b/django/contrib/gis/gdal/libgdal.py
index c1bb45c742..92e3165680 100644
--- a/django/contrib/gis/gdal/libgdal.py
+++ b/django/contrib/gis/gdal/libgdal.py
@@ -14,7 +14,7 @@ if lib_path:
lib_names = None
elif os.name == 'nt':
# Windows NT shared library
- lib_names = ['gdal15']
+ lib_names = ['gdal16', 'gdal15']
elif os.name == 'posix':
# *NIX library names.
lib_names = ['gdal', 'GDAL', 'gdal1.6.0', 'gdal1.5.0', 'gdal1.4.0']