K 10 svn:author V 3 jhb K 8 svn:date V 27 2023-05-02T17:15:12.298491Z K 7 svn:log V 600 libpmc: Use LIB_CXX instead of explicit LDADD to link a C++ library. This uses the C++ compiler as the linker instead of the C compiler letting the compiler driver pick the right libraries. This is a no-op on main and stable/13 but matters for stable/12 where the current logic breaks for external GCC since it tries to use a non-existent libstdc++. Reviewed by: emaste MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D39197 (cherry picked from commit c6b3f47fedd3f94f74cc4f7c40761b1d0e777f17) Git Hash: 076116b884744947ca33e6a8ff1007bf260614af Git Author: jhb@FreeBSD.org END