From d44174293739486ee09af86befbef9c2778483d8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jannik=20Gl=C3=BCckert?= Date: Thu, 25 Aug 2022 12:58:55 -0400 Subject: [PATCH] mark one function visible to allow shared build Closes: https://github.com/robotastic/trunk-recorder/issues/719 Signed-off-by: Rick Farina (Zero_Chaos) --- git.cc.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/git.cc.in b/git.cc.in index 881e79316..2688127e6 100644 --- a/git.cc.in +++ b/git.cc.in @@ -36,7 +36,7 @@ std::string GitMetadata::Describe() { std::string GitMetadata::Branch() { return "@GIT_BRANCH@"; } -void GitMetadata::VersionInfo() { +__attribute__ ((visibility ("default"))) void GitMetadata::VersionInfo() { std::cout << PROJECT_NAME << ": " << PROJECT_VER << std::endl; if(GitMetadata::Populated()) {