Sure.
I have an object file that I like to use in two units in two separate packages, Pkg1Unit and Pkg2Unit, both like to have that object and link it. The problem is that if I use both of these packages in a project, FPC gives the error that I am trying too link a symbol multiple times.
I can make a third package that use this object and those two packages use this, but it complicated things and I have no control on one of the packages to change the code. So I am looking for a way to find out if this symbol is defined or this object is linked, the I can prevent linking again or redefining it in my code.
I can change the source of pakcages but as I said, I have not much control on their source and I like to know if there is way for this particular problem without change in the dependency package.
I renamed the topic but it only renames the first post.