linker - GCC: static linking only some libraries - Stack Overflow
How can I statically link only a some specific libraries to my binary when linking with GCC? gcc ... -static ... tries to statically link all the linked libraries, but I haven't got the static ......