]> code.ossystems Code Review - openembedded-core.git/commit
lttng-ust: fix do_compile error when PACKAGECONFIG examples is enabled
authorChangqing Li <changqing.li@windriver.com>
Thu, 23 Sep 2021 07:45:16 +0000 (15:45 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 23 Sep 2021 21:13:51 +0000 (22:13 +0100)
commit907ebb5bb3d44dd5f68deb238098fb6f6413e2d4
tree72356e722e4edea93f29a180b3ad194c51b17c43
parent414020a9bd656ee61efe2f47db1b31d86b15c1c8
lttng-ust: fix do_compile error when PACKAGECONFIG examples is enabled

when PACKAGECONFIG enabled examples, compile failed with error:
fix below compile error during PACKGAGECONFIG examples is enabled:
tmp/work/corei7-64-wrs-linux/lttng-ust/2_2.13.0-r0/recipe-sysroot-native/usr/bin/x86_64-wrs-linux/../../libexec/x86_64-wrs-linux/gcc/x86_64-wrs-linux/11.2.0/ld: warning: liblttng-ust-common.so.1, needed by ../../../src/lib/lttng-ust/.libs/liblttng-ust.so, not found (try using -rpath or -rpath-link)
tmp/work/corei7-64-wrs-linux/lttng-ust/2_2.13.0-r0/recipe-sysroot-native/usr/bin/x86_64-wrs-linux/../../libexec/x86_64-wrs-linux/gcc/x86_64-wrs-linux/11.2.0/ld: warning: liblttng-ust-tracepoint.so.1, needed by ../../../src/lib/lttng-ust/.libs/liblttng-ust.so, not found (try using -rpath or -rpath-link)

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-kernel/lttng/lttng-ust/0001-Makefile.am-update-rpath-link.patch [new file with mode: 0644]
meta/recipes-kernel/lttng/lttng-ust_2.13.0.bb