summaryrefslogtreecommitdiff
path: root/meta/recipes-extended/shadow/shadow_4.2.1.bb
blob: 5675cb8cc94793057581ab6afa6b2731b1219b6a (plain)
1
2
3
4
5
6
7
8
9
10
require shadow.inc

# Build falsely assumes that if --enable-libpam is set, we don't need to link against
# libcrypt. This breaks chsh.
BUILD_LDFLAGS_append_class-target = " ${@bb.utils.contains('DISTRO_FEATURES', 'pam', bb.utils.contains('DISTRO_FEATURES', 'libc-crypt',  '-lcrypt', '', d), '', d)}"

BBCLASSEXTEND = "native nativesdk"