PlatformLab / NanoLog

Nanolog is an extremely performant nanosecond scale logging system for C++ that exposes a simple printf-like API.
Other
3k stars 343 forks source link

-lpthreads should be -lpthread #14

Closed xhimanshuz closed 5 years ago

xhimanshuz commented 5 years ago

Linker flag for POSIX thread is wrong. 's' should be removed from -lpthreads.

syang0 commented 5 years ago

Hi xhimanshuz, you are right! But after a quick Google search, it appears that most people recommend using -pthread (vs. -lpthread).

Can you update the README.md and sample GNUmakefile in your pull request to reflect this change and I'll merge it in?