2019-02-17 18:24:35 +01:00
|
|
|
project('iconv', 'c', license: 'LGPL',
|
2020-11-15 21:59:26 +01:00
|
|
|
meson_version: '>=0.54.0')
|
2019-02-17 18:24:35 +01:00
|
|
|
|
|
|
|
iconv_src = [
|
|
|
|
'libcharset/localcharset.c',
|
|
|
|
'libiconv/iconv.c'
|
|
|
|
]
|
|
|
|
|
|
|
|
iconv_headers = ['include/iconv.h']
|
|
|
|
|
|
|
|
iconv_incs = include_directories(
|
|
|
|
'include',
|
|
|
|
'libcharset',
|
|
|
|
'libiconv'
|
|
|
|
)
|
|
|
|
|
2019-10-27 02:30:01 +01:00
|
|
|
libiconv = static_library('iconv', iconv_src, include_directories: iconv_incs)
|
2019-02-17 18:24:35 +01:00
|
|
|
libiconv_dep = declare_dependency(link_with: libiconv,
|
|
|
|
include_directories: iconv_incs)
|
2020-10-27 18:07:46 +01:00
|
|
|
|
|
|
|
meson.override_dependency('iconv', libiconv_dep)
|