Browse files

[1.0.X] Fixed #9892 -- support additional binary packages for GEOS & …

…GDAL libs on OSX & Ubuntu platforms.

Backport of r9686 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9687 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
1 parent fd9ddb2 commit 04ce539ad21e3faba1865625040499a3e4b7976a @jbronn jbronn committed Dec 26, 2008
Showing with 2 additions and 2 deletions.
  1. +1 −1 django/contrib/gis/gdal/libgdal.py
  2. +1 −1 django/contrib/gis/geos/libgeos.py
View
2 django/contrib/gis/gdal/libgdal.py
@@ -17,7 +17,7 @@
lib_names = ['gdal15']
elif os.name == 'posix':
# *NIX library names.
- lib_names = ['gdal', 'gdal1.5.0']
+ lib_names = ['gdal', 'GDAL', 'gdal1.6.0', 'gdal1.5.0', 'gdal1.4.0']
else:
raise OGRException('Unsupported OS "%s"' % os.name)
View
2 django/contrib/gis/geos/libgeos.py
@@ -33,7 +33,7 @@
lib_names = ['libgeos_c-1']
elif os.name == 'posix':
# *NIX libraries
- lib_names = ['geos_c']
+ lib_names = ['geos_c', 'GEOS']
else:
raise ImportError('Unsupported OS "%s"' % os.name)

0 comments on commit 04ce539

Please sign in to comment.