1
0
mirror of https://github.com/django/django.git synced 2025-07-04 09:49:12 +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:
Justin Bronn 2007-06-22 01:25:09 +00:00
parent bdcc95e5cc
commit c953f188dd
2 changed files with 4 additions and 4 deletions

View File

@ -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

View File

@ -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!)