mirror of
https://github.com/google/googletest.git
synced 2025-12-08 17:56:50 +08:00
In case CMAKE_BUILD_TYPE is set to Debug the gtest library is name libgtestd.a but the link command returned from gtest.pc is '-lgtest' (without the debug d) and so the linking of dependent packages fails (see [1] for a buildroot failure example). Enhance the gtest.pc ang gmock.pc generation to honour the debug 'd'. [1] http://lists.busybox.net/pipermail/buildroot/2021-October/626382.html Signed-off-by: Peter Seiderer <ps.report@gmx.net> |
||
|---|---|---|
| .. | ||
| gmock_main.pc.in | ||
| gmock.pc.in | ||