2016-12-13 16:12:03 -05:00
|
|
|
if not libssl_dep.found()
|
|
|
|
|
error('fish plugin requires openssl')
|
|
|
|
|
endif
|
|
|
|
|
|
2020-07-13 18:27:27 -05:00
|
|
|
# Run tests
|
|
|
|
|
subdir('tests')
|
|
|
|
|
|
2016-12-13 16:12:03 -05:00
|
|
|
fishlim_sources = [
|
|
|
|
|
'dh1080.c',
|
|
|
|
|
'fish.c',
|
2020-07-21 19:16:50 -05:00
|
|
|
'utils.c',
|
2016-12-13 16:12:03 -05:00
|
|
|
'irc.c',
|
|
|
|
|
'keystore.c',
|
|
|
|
|
'plugin_hexchat.c'
|
|
|
|
|
]
|
|
|
|
|
|
|
|
|
|
shared_module('fishlim', fishlim_sources,
|
|
|
|
|
dependencies: [libgio_dep, hexchat_plugin_dep, libssl_dep],
|
|
|
|
|
install: true,
|
|
|
|
|
install_dir: plugindir,
|
|
|
|
|
name_prefix: '',
|
2022-01-21 12:11:19 +05:30
|
|
|
vs_module_defs: 'fishlim.def',
|
2016-12-13 16:12:03 -05:00
|
|
|
)
|