google / benchmark

A microbenchmark support library
Apache License 2.0
8.59k stars 1.57k forks source link

Add -lkstat to the .pc for Solaris #1801

Open ccotter opened 3 weeks ago

ccotter commented 3 weeks ago

This fixes linking for projects that rely on pkg-config to generate the link line on Solaris.

Test plan: Built the project locally on Solaris and verified -kstat appears in the .pc file

$ cat lib/pkgconfig/benchmark.pc  | grep Libs.private
Libs.private: -lpthread -lkstat
google-cla[bot] commented 3 weeks ago

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

ccotter commented 3 weeks ago

Will get the CLA stuff sorted.