summaryrefslogtreecommitdiff
path: root/app-crypt/yubihsm-shell/files/yubihsm-shell-2.6.0-fix-examples-link.patch
blob: db6b907e7ae3c9bc32e3260f01cee2a96659966f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
https://bugs.gentoo.org/955169

This change is applied upstream as a part of a larger commit.
This gets around non-lto builds failing with missing symbols.

https://github.com/Yubico/yubihsm-shell/commit/ec05084df550fd25c3fe0acd7ab62ba7d2130b5c

diff --git a/examples/CMakeLists.txt b/examples/CMakeLists.txt
index 28750ad..50ab0e6 100644
--- a/examples/CMakeLists.txt
+++ b/examples/CMakeLists.txt
@@ -52,6 +52,7 @@ set (
   SOURCE_WRAP
   wrap.c
   ../common/util.c
+  ../common/hash.c
   ../common/openssl-compat.c
   )