Add -lpthread to pkg-config Libs.private. (#755)

Since pthread is required at least for GCC (according to the
documentation), this should be reflected by the pkg-config file.

The same is, for instance, also done by the gflags library:
1005485222/cmake/package.pc.in (L13)
This commit is contained in:
Daniel Kraft 2019-02-01 13:51:44 +01:00 committed by Roman Lebedev
parent 785e2c3158
commit 97393e5ef8
1 changed files with 1 additions and 0 deletions

View File

@ -8,4 +8,5 @@ Description: Google microbenchmark framework
Version: @VERSION@ Version: @VERSION@
Libs: -L${libdir} -lbenchmark Libs: -L${libdir} -lbenchmark
Libs.private: -lpthread
Cflags: -I${includedir} Cflags: -I${includedir}