2019-02-17 18:24:35 +01:00
|
|
|
project('iconv', 'c', license: 'LGPL',
|
|
|
|
meson_version: '>=0.49.0')
|
|
|
|
|
|
|
|
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)
|