mirror of https://github.com/ecmwf/eccodes.git
Python setup: remove unnecessary libraries
This commit is contained in:
parent
30510802b3
commit
4f3fe1b785
|
@ -34,16 +34,16 @@ if with_jasper:
|
|||
)
|
||||
add_attribute(libraries = 'jasper')
|
||||
|
||||
with_openjpeg = @HAVE_LIBOPENJPEG@
|
||||
if with_openjpeg:
|
||||
openjpeg_dir = '@OPENJPEG_DIR@'
|
||||
if openjpeg_dir and openjpeg_dir != 'system':
|
||||
add_attribute(
|
||||
include_dirs = os.path.join(openjpeg_dir,'include'),
|
||||
library_dirs = os.path.join(openjpeg_dir,'lib'),
|
||||
extra_link_args = '-Wl,-rpath,' + os.path.join(openjpeg_dir,'lib')
|
||||
)
|
||||
add_attribute(libraries = 'openjpeg')
|
||||
#with_openjpeg = @HAVE_LIBOPENJPEG@
|
||||
#if with_openjpeg:
|
||||
# openjpeg_dir = '@OPENJPEG_DIR@'
|
||||
# if openjpeg_dir and openjpeg_dir != 'system':
|
||||
# add_attribute(
|
||||
# include_dirs = os.path.join(openjpeg_dir,'include'),
|
||||
# library_dirs = os.path.join(openjpeg_dir,'lib'),
|
||||
# extra_link_args = '-Wl,-rpath,' + os.path.join(openjpeg_dir,'lib')
|
||||
# )
|
||||
# add_attribute(libraries = 'openjpeg')
|
||||
|
||||
# assumes png is supplied by system paths -- may not be true
|
||||
png = @HAVE_PNG@
|
||||
|
@ -51,16 +51,16 @@ if png:
|
|||
add_attribute(libraries = 'png')
|
||||
|
||||
|
||||
with_aec = @HAVE_AEC@
|
||||
if with_aec:
|
||||
aec_dir = '@AEC_DIR@'
|
||||
if aec_dir and aec_dir != 'system':
|
||||
add_attribute(
|
||||
include_dirs = os.path.join(aec_dir,'include'),
|
||||
library_dirs = os.path.join(aec_dir,'lib'),
|
||||
extra_link_args = '-Wl,-rpath,' + os.path.join(aec_dir,'lib')
|
||||
)
|
||||
add_attribute(libraries = 'aec')
|
||||
#with_aec = @HAVE_AEC@
|
||||
#if with_aec:
|
||||
# aec_dir = '@AEC_DIR@'
|
||||
# if aec_dir and aec_dir != 'system':
|
||||
# add_attribute(
|
||||
# include_dirs = os.path.join(aec_dir,'include'),
|
||||
# library_dirs = os.path.join(aec_dir,'lib'),
|
||||
# extra_link_args = '-Wl,-rpath,' + os.path.join(aec_dir,'lib')
|
||||
# )
|
||||
# add_attribute(libraries = 'aec')
|
||||
|
||||
|
||||
data_handler = '@DATA_HANDLER@'
|
||||
|
|
Loading…
Reference in New Issue