libxcrypt.inc 1.0 KB

12345678910111213141516171819202122232425262728
  1. SUMMARY = "Extended cryptographic library (from glibc)"
  2. DESCRIPTION = "Forked code from glibc libary to extract only crypto part."
  3. HOMEPAGE = "https://github.com/besser82/libxcrypt"
  4. SECTION = "libs"
  5. LICENSE = "LGPL-2.1-only"
  6. LIC_FILES_CHKSUM = "file://LICENSING;md5=c0a30e2b1502c55a7f37e412cd6c6a4b \
  7. file://COPYING.LIB;md5=4fbd65380cdd255951079008b364516c \
  8. "
  9. inherit autotools pkgconfig
  10. SRC_URI = "git://github.com/besser82/libxcrypt.git;branch=${SRCBRANCH};protocol=https \
  11. "
  12. SRCREV = "55ea777e8d567e5e86ffac917c28815ac54cc341"
  13. SRCBRANCH ?= "master"
  14. PROVIDES = "virtual/crypt"
  15. BUILD_CPPFLAGS = "-I${STAGING_INCDIR_NATIVE}"
  16. TARGET_CPPFLAGS = "-I${STAGING_DIR_TARGET}${includedir} -Wno-error"
  17. CPPFLAGS:append:class-nativesdk = " -Wno-error"
  18. API = "--disable-obsolete-api"
  19. EXTRA_OECONF += "${API}"
  20. BBCLASSEXTEND = "native nativesdk"
  21. # Needed until https://github.com/besser82/libxcrypt/issues/181 is addressed
  22. LDFLAGS += "${@bb.utils.contains('DISTRO_FEATURES', 'ld-is-lld', '-Wl,--undefined-version', '', d)}"