Quote:
Originally Posted by J.C.
Thanks for the tip, you'd think it'll work but the linker only acts when the flag used is '-static' and after that it won't accept any dynamic libraries (regardless of trying -Bdynamic, -dy or -call_shared), which is a problem since libinkview is dynamic and linked last.
|
Try putting
-Wl, before them, since they're actually options to
ld rather than
gcc. It's been a while since I needed to do stuff like this, so I'm pretty rusty at it. I do remember being able to switch between static and dynamic on a per library basis, though.
So, something like:
Code:
-Wl,-dn -lasound -Wl,-dy