mirror of
https://github.com/django/django.git
synced 2024-12-25 18:46:22 +00:00
Fixed #9008 -- now use the correct library path for loading the WinDLL
instance of the GDAL library.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9036 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
fe3a560768
commit
b04faa3511
@ -42,7 +42,7 @@ lgdal = CDLL(lib_path)
|
|||||||
# different calling convention.
|
# different calling convention.
|
||||||
if os.name == 'nt':
|
if os.name == 'nt':
|
||||||
from ctypes import WinDLL
|
from ctypes import WinDLL
|
||||||
lwingdal = WinDLL(lib_name)
|
lwingdal = WinDLL(lib_path)
|
||||||
|
|
||||||
def std_call(func):
|
def std_call(func):
|
||||||
"""
|
"""
|
||||||
|
Loading…
Reference in New Issue
Block a user