mirror of
https://github.com/django/django.git
synced 2025-07-04 01:39:20 +00:00
gis: added support for Solaris
git-svn-id: http://code.djangoproject.com/svn/django/branches/gis@5510 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
bdcc95e5cc
commit
c953f188dd
@ -7,8 +7,8 @@ if os.name == 'nt':
|
||||
lib_name = 'libgdal-1.dll'
|
||||
elif os.name == 'posix':
|
||||
platform = os.uname()[0]
|
||||
if platform == 'Linux':
|
||||
# Linux shared library
|
||||
if platform in ('Linux', 'SunOS'):
|
||||
# Linux or Solaris shared library
|
||||
lib_name = 'libgdal.so'
|
||||
elif platform == 'Darwin':
|
||||
# Mac OSX shared library
|
||||
|
@ -72,8 +72,8 @@ if os.name == 'nt':
|
||||
lib_name = 'libgeos_c-1.dll'
|
||||
elif os.name == 'posix':
|
||||
platform = os.uname()[0] # Using os.uname()
|
||||
if platform == 'Linux':
|
||||
# Linux shared library
|
||||
if platform in ('Linux', 'SunOS'):
|
||||
# Linux or Solaris shared library
|
||||
lib_name = 'libgeos_c.so'
|
||||
elif platform == 'Darwin':
|
||||
# Mac OSX Shared Library (Thanks Matt!)
|
||||
|
Loading…
x
Reference in New Issue
Block a user