I want to make some modifications to the pthread
library used for my program. That is why I want to link with my own modified pthread library. I can take the source code in glibc
for pthread
, modify it and use that for my programs.
Normally you use the flag -pthread
for linking with the original pthread
library. How do I specify in my makefile to link with my own library.