1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-09-29 19:56:07 -04:00

build: add otr sources correctly

See
https://github.com/profanity-im/profanity/pull/1619#discussion_r760443828
This commit is contained in:
Michael Vetter 2021-12-01 19:14:16 +01:00
parent 3e6926f82a
commit 9e0e6e2524

View File

@ -85,8 +85,9 @@ endif
otr_internal_dep = declare_dependency() otr_internal_dep = declare_dependency()
if otr_dep.found() if otr_dep.found()
otr_sources = [ 'src/otr/otrlibv4.c', otr_sources = [ files('otr/otrlibv4.c',
'src/otr/otr.c', 'otr/otr.c',
)
] ]
otr_internal_dep = declare_dependency(sources: otr_sources, include_directories: include_directories('otr'), dependencies: otr_dep) otr_internal_dep = declare_dependency(sources: otr_sources, include_directories: include_directories('otr'), dependencies: otr_dep)