View Single Post
Old 12-28-2011, 02:39 AM   #89
rkomar
Wizard
rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.
 
Posts: 3,058
Karma: 18821071
Join Date: Oct 2010
Location: Sudbury, ON, Canada
Device: PRS-505, PB 902, PRS-T1, PB 623, PB 840, PB 633
Quote:
Originally Posted by J.C. View Post
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

Last edited by rkomar; 12-28-2011 at 02:42 AM.
rkomar is offline   Reply With Quote