mirror of
https://git.yoctoproject.org/poky
synced 2026-02-09 18:23:02 +01:00
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: 87d3ad23643abff47ac35ca14f8b4b4bb9ee80da)
Signed-off-by: Etienne Cordonnier <ecordonnier@snap.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 7ed6bfa2428b4f1ba7f09d6e9e67c462ff355153)
Signed-off-by: Sanjay Chitroda <schitrod@cisco.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
30 lines
946 B
PHP
30 lines
946 B
PHP
SUMMARY = "Extended cryptographic library (from glibc)"
|
|
DESCRIPTION = "Forked code from glibc libary to extract only crypto part."
|
|
HOMEPAGE = "https://github.com/besser82/libxcrypt"
|
|
SECTION = "libs"
|
|
LICENSE = "LGPL-2.1-only"
|
|
LIC_FILES_CHKSUM = "file://LICENSING;md5=c0a30e2b1502c55a7f37e412cd6c6a4b \
|
|
file://COPYING.LIB;md5=4fbd65380cdd255951079008b364516c \
|
|
"
|
|
|
|
inherit autotools pkgconfig
|
|
|
|
SRC_URI = "git://github.com/besser82/libxcrypt.git;branch=${SRCBRANCH};protocol=https"
|
|
SRCREV = "d7fe1ac04c326dba7e0440868889d1dccb41a175"
|
|
SRCBRANCH ?= "develop"
|
|
|
|
SRC_URI += "file://fix_cflags_handling.patch"
|
|
|
|
PROVIDES = "virtual/crypt"
|
|
|
|
S = "${WORKDIR}/git"
|
|
|
|
BUILD_CPPFLAGS = "-I${STAGING_INCDIR_NATIVE}"
|
|
TARGET_CPPFLAGS = "-I${STAGING_DIR_TARGET}${includedir} -Wno-error"
|
|
CPPFLAGS:append:class-nativesdk = " -Wno-error"
|
|
|
|
API = "--disable-obsolete-api"
|
|
EXTRA_OECONF += "${API}"
|
|
|
|
BBCLASSEXTEND = "native nativesdk"
|