making gcc prefer static libs to shared objects when linking?

后端 未结 3 1020
逝去的感伤
逝去的感伤 2020-12-30 23:52

When linking against libraries using the -l option (say -lfoo), gcc will prefer a shared object to a static library if both are found (will prefer

3条回答
提交回复
热议问题