From c32476e5ba2f1c18758cfcffc857fa4eab37e816 Mon Sep 17 00:00:00 2001 From: Tim Graham Date: Tue, 30 May 2017 09:39:59 -0400 Subject: Refs #28181 -- Corrected detection of GDAL 2.1 on Windows. Follow up to a404f75f92971634c76330f3742261d33ccecca1. --- django/contrib/gis/gdal/libgdal.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'django') diff --git a/django/contrib/gis/gdal/libgdal.py b/django/contrib/gis/gdal/libgdal.py index 056efaf01d..96acee9f5e 100644 --- a/django/contrib/gis/gdal/libgdal.py +++ b/django/contrib/gis/gdal/libgdal.py @@ -21,7 +21,7 @@ if lib_path: lib_names = None elif os.name == 'nt': # Windows NT shared libraries - lib_names = ['gdal21', 'gdal20', 'gdal111', 'gdal110', 'gdal19'] + lib_names = ['gdal201', 'gdal20', 'gdal111', 'gdal110', 'gdal19'] elif os.name == 'posix': # *NIX library names. lib_names = ['gdal', 'GDAL', 'gdal2.1.0', 'gdal2.0.0', 'gdal1.11.0', 'gdal1.10.0', 'gdal1.9.0'] -- cgit v1.3