How to solve circular dependency in linker is shown here Library order in static linking - Eli Bendersky's website[^] The trick is to organize the library files as shown and link them twice which is perfectly valid. I assume that is the reason you are trying to avoid including the library file.
In vino veritas