Your Linux Self-Help Desk. A selection of mostly Linux related tutorials, howtos, fixes, news and more.
If you want to link some libraries statically and other dynamically you can use these switches:
-Wl,-Bstatic -lsomelibstatically -Wl,-Bdynamic -lotherlibshared
If you just want to compile it all statically, use LDFLAGS="-static".
Thanks for that tip.
I appreciate comments. Feel free to write anything you wish. Selected comments and questions will be published.
Thanks for that tip.
ReplyDelete