On Thu, Mar 11, 2021 at 4:12 PM Wang Mingyu <[email protected]> wrote:
>
> 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"
usually update-alternative mechanism is for executables, for
development files and libs, its better to package them in there own
subdirs
e.g. this file could live as ${includedir}/czmq/sha1.h and of course
adjust the apps using them to detect right header via pkgconfig or
some such mechanism
> --
> 2.25.1
>
>
>
>
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#90036):
https://lists.openembedded.org/g/openembedded-devel/message/90036
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]]
-=-=-=-=-=-=-=-=-=-=-=-