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. And I do read them.