使用gcc,如何将库(-lpthread)包含到我自己的静态用户库中?
Iwanttousepthreadstuffinmystaticuserlibrary,butdependentprojectswon'tlinkunlessIadd'-lpthread'toeachprojectthatusesit.我想在静态用户库中使用pthread,但是依赖项目不会链接,除非...
Iwanttousepthreadstuffinmystaticuserlibrary,butdependentprojectswon'tlinkunlessIadd'-lpthread'toeachprojectthatusesit.我想在静态用户库中使用pthread,但是依赖项目不会链接,除非...