Fixes #462 - Static linking issue with multiple libraries#463
Conversation
|
I'm very confused why you would want to install multiple static libraries? And I'm a bit worried it's completely wrong (but I'm not sure it is). |
|
@Leont that is completely possible. And it is possible that the static build of IO::Compress::Brotli is doing something wrong: |
|
MakeMaker is assuming here that So I think that what you're doing is wrong within the currently existing paradigm. But what you want to do is not reasonable, just complicated. For dynamic links you want it to link these static libraries into the loadable object (which either Possibly an There's a reason few people do this, it's really hard to get it right. |
|
Using |
|
I use EXTRALIBS here which I did need in order to get it to work. However, if I remove MYEXTLIB the build fails as you note above I think |
|
However, that does allow me to link to the system install library |
This may not be the best fix happy to make changes