summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhil Jones <philj56@gmail.com>2022-09-07 22:45:39 +0100
committerPhil Jones <philj56@gmail.com>2022-09-07 22:45:39 +0100
commitca4451eae114bee59b71a86ccc22602dacf7bb77 (patch)
treee3f9acea079558ed7b3631d28fc50657baa971b1
parentadc683b7fa847bc1776e3bece532c39aff12b039 (diff)
Fix failure to link tofi-compgen without LTO.
This was caused by an unused (but included) function not being linked. LTO was able to determine that the missing function didn't need to be linked, so didn't complain, leading to this bug being missed.
-rw-r--r--meson.build1
1 files changed, 1 insertions, 0 deletions
diff --git a/meson.build b/meson.build
index ddf419a..8a9641c 100644
--- a/meson.build
+++ b/meson.build
@@ -114,6 +114,7 @@ tofi_sources = files(
compgen_sources = files(
'src/main_compgen.c',
'src/compgen.c',
+ 'src/fuzzy_match.c',
'src/log.c',
'src/mkdirp.c',
'src/string_vec.c',