Basic openjpeg 1.5.1 tests running on 64-bit linux.

This commit is contained in:
John Evans 2013-07-03 07:47:29 -04:00
commit 4bb034e966

View file

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