[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
This commit is contained in:
Justin Bronn 2009-06-12 17:19:19 +00:00
parent b9952794c3
commit 1ff9ec9f12
1 changed files with 1 additions and 1 deletions

View File

@ -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']