mirror of
https://github.com/google/benchmark.git
synced 2025-01-13 21:30:14 +08:00
71f4218c1a
* Add -lkstat to the .pc for Solaris 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 ``` * Use BENCHMARK_PRIVATE_LINK_LIBRARIES
13 lines
330 B
PkgConfig
13 lines
330 B
PkgConfig
prefix=@CMAKE_INSTALL_PREFIX@
|
|
exec_prefix=${prefix}
|
|
libdir=@CMAKE_INSTALL_FULL_LIBDIR@
|
|
includedir=@CMAKE_INSTALL_FULL_INCLUDEDIR@
|
|
|
|
Name: @PROJECT_NAME@
|
|
Description: Google microbenchmark framework
|
|
Version: @VERSION@
|
|
|
|
Libs: -L${libdir} -lbenchmark
|
|
Libs.private: -lpthread @BENCHMARK_PRIVATE_LINK_LIBRARIES@
|
|
Cflags: -I${includedir}
|