libmd also uses the doc 'sha1.h'.

libmd has a priority of 100.

Signed-off-by: Wang Mingyu <[email protected]>
---
 meta-oe/recipes-connectivity/zeromq/czmq_4.2.1.bb | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/meta-oe/recipes-connectivity/zeromq/czmq_4.2.1.bb 
b/meta-oe/recipes-connectivity/zeromq/czmq_4.2.1.bb
index e742d2a1c4..bd40fb92f7 100644
--- a/meta-oe/recipes-connectivity/zeromq/czmq_4.2.1.bb
+++ b/meta-oe/recipes-connectivity/zeromq/czmq_4.2.1.bb
@@ -30,3 +30,8 @@ PACKAGECONFIG[systemd] = 
",-DCMAKE_DISABLE_FIND_PACKAGE_systemd=TRUE,systemd"
 
 BBCLASSEXTEND = "nativesdk"
 
+inherit update-alternatives
+
+ALTERNATIVE_PRIORITY = "60"
+ALTERNATIVE_${PN}-doc = "sha1.h"
+ALTERNATIVE_LINK_NAME[sha1.h] = "${includedir}/sha1.h"
-- 
2.25.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#90035): 
https://lists.openembedded.org/g/openembedded-devel/message/90035
Mute This Topic: https://lists.openembedded.org/mt/81267925/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to