Developer forums (C::B DEVELOPMENT STRICTLY!) > Development
Linker error because of stripping off lib prefix
sodev:
For reference, i found the location that does that prefix stripping, it is CompilerCommandGenerator::FixupLinkLibraries(Compiler*, const wxString&).
There is some fancy stuff ongoing to "fix" library names but i do not really know why. Fix user error? Or fix results of lookup-tools like pkg-config? I'm afraid in that location it is impossible to figure out the source of the library to determine if a fix is needed or not. Maybe the prefix stripping can only be done if there is an extension present like the extension stripping is only done if a prefix is present. But chances are high that changing anything there will break something badly.
Not sure how many other libraries are out there whose name starts with lib (or whatever prefix the used compiler uses) and will run into that problem, so maybe it's not worth to investigate further.
oBFusCATed:
I think the stripping should happen only in the UI, but I don't have time/desire to investigate this.
Navigation
[0] Message Index
[*] Previous page
Go to full version