libxcrypt: fix hard-coded ".so" extension

2 issues:
- the .so extension is hard-coded, and therefore the libxcryt package compiled with
  meta-darwin is empty, because the dylib files are not contained in FILES_${PN}
- nothing actually produces a file libcrypt-*.so (the symlink file is libcrypt.so, without dash), thus
  defining FILES:${PN} manually to contain libcrypt-*.so has no effect.

(From OE-Core rev: 7ed6bfa2428b4f1ba7f09d6e9e67c462ff355153)

Signed-off-by: Etienne Cordonnier <ecordonnier@snap.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Etienne Cordonnier 2023-05-26 13:51:55 +02:00 committed by Richard Purdie
parent 0745cb1cb3
commit 2639746ba7

View File

@ -17,12 +17,6 @@ SRC_URI += "file://fix_cflags_handling.patch"
PROVIDES = "virtual/crypt"
FILES:${PN} = "${libdir}/libcrypt*.so.* \
${libdir}/libcrypt-*.so \
${libdir}/libowcrypt*.so.* \
${libdir}/libowcrypt-*.so \
"
S = "${WORKDIR}/git"
BUILD_CPPFLAGS = "-I${STAGING_INCDIR_NATIVE}"