| Message ID | 20260109131130.3006446-2-ross.burton@arm.com |
|---|---|
| State | New |
| Headers | show |
| Series | [01/11] libusb1: use libtool to install test binaries | expand |
diff --git a/meta/recipes-support/gnutls/gnutls_3.8.11.bb b/meta/recipes-support/gnutls/gnutls_3.8.11.bb index 6c979430cd..5b44c66dfc 100644 --- a/meta/recipes-support/gnutls/gnutls_3.8.11.bb +++ b/meta/recipes-support/gnutls/gnutls_3.8.11.bb @@ -71,7 +71,7 @@ do_compile_ptest() { do_install:append:class-target() { if ${@bb.utils.contains('PACKAGECONFIG', 'fips', 'true', 'false', d)}; then install -d ${D}${bindir}/bin - install -m 0755 ${B}/lib/.libs/fipshmac ${D}/${bindir}/ + ${B}/libtool --mode=install install -m 0755 ${B}/lib/fipshmac ${D}/${bindir}/ fi }
If libtool builds a binary it's best to use libtool to install it, as otherwise you might install a wrapper script or need to make assumptions about where libtool has put the real binary (as this isn't always .libs) Signed-off-by: Ross Burton <ross.burton@arm.com> --- meta/recipes-support/gnutls/gnutls_3.8.11.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)