In a workspace i have two projects, one produces an executable, the other one a static library the executable gets linked with. The library project is simply called libs, it produces the output liblibs.a. The executable project references the output as libs in the linker settings.
The linking step however fails because on the actual command line this setting is turned into a -ls. For some reason the lib prefix gets stripped off. If i rename the library to something that does not start with lib like simplelibs, which results into the output libsimplelibs.a and the linker setting simplelibs, it does work.
This happens on Linux and Windows with the compiler GCC, if i switch to MSVC on Windows, which results into the output libs.lib and the linker setting libs, the linking does succeed.