From ca4451eae114bee59b71a86ccc22602dacf7bb77 Mon Sep 17 00:00:00 2001 From: Phil Jones Date: Wed, 7 Sep 2022 22:45:39 +0100 Subject: 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. --- meson.build | 1 + 1 file changed, 1 insertion(+) 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', -- cgit v1.2.3