diff options
author | Jannik Glückert <jannik.glueckert@gmail.com> | 2022-08-25 12:58:55 -0400 |
---|---|---|
committer | Rick Farina (Zero_Chaos) <zerochaos@gentoo.org> | 2022-08-25 12:58:55 -0400 |
commit | d44174293739486ee09af86befbef9c2778483d8 (patch) | |
tree | 54b57475de37002b9555463031832f8568af88c1 | |
parent | a30ee308518d478c4fdcd39fab2314717898bd65 (diff) |
mark one function visible to allow shared build
Closes: https://github.com/robotastic/trunk-recorder/issues/719
Signed-off-by: Rick Farina (Zero_Chaos) <zerochaos@gentoo.org>
-rw-r--r-- | git.cc.in | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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()) { |