mirror of https://github.com/django/django.git
[1.11.x] Refs #28181 -- Corrected detection of GDAL 2.1 on Windows.
Follow up toa404f75f92
. Backport ofc32476e5ba
from master
This commit is contained in:
parent
5688562f66
commit
4112bce442
|
@ -23,7 +23,7 @@ if lib_path:
|
|||
lib_names = None
|
||||
elif os.name == 'nt':
|
||||
# Windows NT shared libraries
|
||||
lib_names = [str('gdal21'), str('gdal20'), str('gdal111'), str('gdal110'), str('gdal19')]
|
||||
lib_names = [str('gdal201'), str('gdal20'), str('gdal111'), str('gdal110'), str('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']
|
||||
|
|
|
@ -42,3 +42,5 @@ Bugfixes
|
|||
|
||||
* Prevented ``Subquery`` from adding an unnecessary ``CAST`` which resulted in
|
||||
invalid SQL (:ticket:`28199`).
|
||||
|
||||
* Corrected detection of GDAL 2.1 on Windows (:ticket:`28181`).
|
||||
|
|
Loading…
Reference in New Issue