diff options
Diffstat (limited to 'src/Linker.cpp')
-rw-r--r-- | src/Linker.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Linker.cpp b/src/Linker.cpp index 1546909..d03e3a4 100644 --- a/src/Linker.cpp +++ b/src/Linker.cpp @@ -46,4 +46,8 @@ namespace sibs bool is_lld_linker_installed() { return is_linker_installed("ld.lld"); } + + bool is_mold_linker_installed() { + return is_linker_installed("ld.mold") && fileExists("/usr/lib/mold/ld"); + } }
\ No newline at end of file |