2016-12-14 00:12:03 +03:00
|
|
|
if not libssl_dep.found()
|
|
|
|
error('fish plugin requires openssl')
|
|
|
|
endif
|
|
|
|
|
2020-07-14 02:27:27 +03:00
|
|
|
# Run tests
|
|
|
|
subdir('tests')
|
|
|
|
|
2016-12-14 00:12:03 +03:00
|
|
|
fishlim_sources = [
|
|
|
|
'dh1080.c',
|
|
|
|
'fish.c',
|
2020-07-22 03:16:50 +03:00
|
|
|
'utils.c',
|
2016-12-14 00:12:03 +03: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 09:41:19 +03:00
|
|
|
vs_module_defs: 'fishlim.def',
|
2016-12-14 00:12:03 +03:00
|
|
|
)
|