Kaydet (Commit) 096c4653 authored tarafından Justin Bronn's avatar Justin Bronn

Fixed #13779 -- Can now discover GDAL 1.7 from debian-based packages. Thanks to…

Fixed #13779 -- Can now discover GDAL 1.7 from debian-based packages.  Thanks to Leo for bug report and patch.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@13396 bcc190cf-cafb-0310-a4f2-bffc1f526a37
üst 5ff262e8
...@@ -14,10 +14,10 @@ if lib_path: ...@@ -14,10 +14,10 @@ if lib_path:
lib_names = None lib_names = None
elif os.name == 'nt': elif os.name == 'nt':
# Windows NT shared library # Windows NT shared library
lib_names = ['gdal16', 'gdal15'] lib_names = ['gdal17', 'gdal16', 'gdal15']
elif os.name == 'posix': elif os.name == 'posix':
# *NIX library names. # *NIX library names.
lib_names = ['gdal', 'GDAL', 'gdal1.6.0', 'gdal1.5.0', 'gdal1.4.0'] lib_names = ['gdal', 'GDAL', 'gdal1.7.0', 'gdal1.6.0', 'gdal1.5.0', 'gdal1.4.0']
else: else:
raise OGRException('Unsupported OS "%s"' % os.name) raise OGRException('Unsupported OS "%s"' % os.name)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment