On Saturday, February 10, 2018 at 2:18:23 AM UTC+7, andrey mirtchovski
> If you mix dynamic libraries with static ones in the same folder the
> -L -l trick won't work. a workaround is to softlink the .a files to a
> separate folder so that the linker doesn't see the .so/.dylib files.
I found that while -L -l may *appear* to work, the linker may have actually
found a library with a similar -l name in a system path (e.g.
/usr/local/lib) and decided to dynamically link against that version
instead of the required one in the -L path. This may result in build
success but runtime failure.
You received this message because you are subscribed to the Google Groups
To unsubscribe from this group and stop receiving emails from it, send an email
For more options, visit https://groups.google.com/d/optout.