ECC-380 Do not link OpenJPEG in Python extension module

This commit is contained in:
Florian Rathgeber 2016-11-10 18:40:18 +00:00
parent a05b174b02
commit 3f84e10869
2 changed files with 0 additions and 11 deletions

View File

@ -10,10 +10,6 @@ if( HAVE_PYTHON )
get_filename_component(JASPER_DIR ${JASPER_INCLUDE_DIR} PATH )
endif()
if( HAVE_LIBOPENJPEG )
get_filename_component(OPENJPEG_LIB_DIR ${OPENJPEG_LIBRARY} PATH )
endif()
if( HAVE_AEC )
get_filename_component(AEC_DIR ${AEC_INCLUDE_DIR} PATH )
endif()

View File

@ -36,13 +36,6 @@ if shared_libs == 'OFF':
runtime_library_dirs=os.path.join(jasper_dir, 'lib'))
add_attribute(libraries='jasper')
if @HAVE_LIBOPENJPEG@:
openjpeg_lib_dir = '@OPENJPEG_LIB_DIR@'
if openjpeg_lib_dir:
add_attribute(library_dirs=openjpeg_lib_dir,
runtime_library_dirs=openjpeg_lib_dir)
add_attribute(libraries='openjp2')
# assumes png is supplied by system paths -- may not be true
if @HAVE_LIBPNG@:
add_attribute(libraries='png')