Basic openjpeg 1.5.1 tests running on 64-bit linux.
This commit is contained in:
parent
5a7c410288
commit
4bb034e966
1 changed files with 2 additions and 3 deletions
|
|
@ -11,9 +11,8 @@ if os.name == "nt":
|
|||
else:
|
||||
if platform.system() == 'Darwin':
|
||||
_OPENJPEG = ctypes.CDLL('/opt/local/lib/libopenjpeg.dylib')
|
||||
if _OPENJPEG is None:
|
||||
# Make one last attempt. Does the system know where it is?
|
||||
_OPENJPEG = find_library('openjpeg')
|
||||
elif platform.system() == 'Linux':
|
||||
_OPENJPEG = ctypes.CDLL(find_library('openjpeg'))
|
||||
|
||||
OPJ_PATH_LEN = 4096 # maximum allowed size for filenames
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue