Skip to content

Commit e594ca7

Browse files
committed
[1.2.X] Fixed django#15194 -- Add OSGeo4W DLL library names to GEOS and GDAL interfaces. Thanks, master for ticket and initial patch.
Backport of r15852 from trunk. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@15853 bcc190cf-cafb-0310-a4f2-bffc1f526a37
1 parent 1e2d896 commit e594ca7

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

django/contrib/gis/gdal/libgdal.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@
1313
if lib_path:
1414
lib_names = None
1515
elif os.name == 'nt':
16-
# Windows NT shared library
17-
lib_names = ['gdal17', 'gdal16', 'gdal15']
16+
# Windows NT shared libraries
17+
lib_names = ['gdal18', 'gdal17', 'gdal16', 'gdal15']
1818
elif os.name == 'posix':
1919
# *NIX library names.
2020
lib_names = ['gdal', 'GDAL', 'gdal1.7.0', 'gdal1.6.0', 'gdal1.5.0', 'gdal1.4.0']

django/contrib/gis/geos/libgeos.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
lib_names = None
2424
elif os.name == 'nt':
2525
# Windows NT libraries
26-
lib_names = ['libgeos_c-1']
26+
lib_names = ['geos_c', 'libgeos_c-1']
2727
elif os.name == 'posix':
2828
# *NIX libraries
2929
lib_names = ['geos_c', 'GEOS']

0 commit comments

Comments
 (0)