]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
libpmc: fix linking with C programs
authorAlan Somers <asomers@FreeBSD.org>
Mon, 15 Feb 2021 22:51:31 +0000 (15:51 -0700)
committerAlan Somers <asomers@FreeBSD.org>
Sat, 20 Feb 2021 00:43:14 +0000 (17:43 -0700)
commit418d29545e0b98b269c346adc6931359065ffbdb
tree0c76050cfd064127582994b473a3a7640d3f0f68
parentf7007a7d05255a6859dea0982b1f0a6d695e8881
libpmc: fix linking with C programs

Revision r334749 Added some C++ code to libpmc.  It didn't change the ABI,
but it did introduce a dependency on libc++.  Nobody noticed because every
program that in the base system that uses libpmc is also C++.

Reported-by: Dom Dwyer <dom@itsallbroken.com>
Reviewed By: vangyzen
Differential Revision: https://reviews.freebsd.org/D28550

(cherry picked from commit 04e34c0202ea50cea67d5779f54bc612c74e6532)
lib/libpmc/Makefile