From f6352cc1ebe6eb9a6bb7794f4a4d04dcb5370ad5 Mon Sep 17 00:00:00 2001 From: Simon Marchi Date: Fri, 3 Sep 2021 17:31:29 -0400 Subject: [PATCH] common: compile libtestpoint as C++ MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Change-Id: I2dae562c4632ea3ecfa1365f573baa6d6ba232bf Signed-off-by: Simon Marchi Signed-off-by: Jérémie Galarneau --- src/common/testpoint/Makefile.am | 4 +++- src/common/testpoint/{testpoint.c => testpoint.cpp} | 0 2 files changed, 3 insertions(+), 1 deletion(-) rename src/common/testpoint/{testpoint.c => testpoint.cpp} (100%) diff --git a/src/common/testpoint/Makefile.am b/src/common/testpoint/Makefile.am index ef8a2e9cd..7fd8ed76e 100644 --- a/src/common/testpoint/Makefile.am +++ b/src/common/testpoint/Makefile.am @@ -2,5 +2,7 @@ noinst_LTLIBRARIES = libtestpoint.la -libtestpoint_la_SOURCES = testpoint.h testpoint.c +libtestpoint_la_SOURCES = \ + testpoint.cpp \ + testpoint.h libtestpoint_la_LIBADD = $(DL_LIBS) diff --git a/src/common/testpoint/testpoint.c b/src/common/testpoint/testpoint.cpp similarity index 100% rename from src/common/testpoint/testpoint.c rename to src/common/testpoint/testpoint.cpp -- 2.34.1