Django

Code

Changeset 5510

Show
Ignore:
Timestamp:
06/21/07 20:25:09 (1 year ago)
Author:
jbronn
Message:

gis: added support for Solaris

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • django/branches/gis/django/contrib/gis/gdal/libgdal.py

    r5478 r5510  
    88elif os.name == 'posix': 
    99    platform = os.uname()[0] 
    10     if platform == 'Linux'
    11         # Linux shared library 
     10    if platform in ('Linux', 'SunOS')
     11        # Linux or Solaris shared library 
    1212        lib_name = 'libgdal.so' 
    1313    elif platform == 'Darwin': 
  • django/branches/gis/django/contrib/gis/geos/GEOSGeometry.py

    r5474 r5510  
    7373elif os.name == 'posix': 
    7474    platform = os.uname()[0] # Using os.uname() 
    75     if platform == 'Linux'
    76         # Linux shared library 
     75    if platform in ('Linux', 'SunOS')
     76        # Linux or Solaris shared library 
    7777        lib_name = 'libgeos_c.so' 
    7878    elif platform == 'Darwin':