https://jdhao.github.io/2020/12/10/gcc_library_link_issue/