summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/shadow/shadow_4.6.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-extended/shadow/shadow_4.6.bb')
-rw-r--r--meta/recipes-extended/shadow/shadow_4.6.bb10
1 files changed, 10 insertions, 0 deletions
diff --git a/meta/recipes-extended/shadow/shadow_4.6.bb b/meta/recipes-extended/shadow/shadow_4.6.bb
new file mode 100644
index 0000000000..5675cb8cc9
--- /dev/null
+++ b/meta/recipes-extended/shadow/shadow_4.6.bb
@@ -0,0 +1,10 @@
1require shadow.inc
2
3# Build falsely assumes that if --enable-libpam is set, we don't need to link against
4# libcrypt. This breaks chsh.
5BUILD_LDFLAGS_append_class-target = " ${@bb.utils.contains('DISTRO_FEATURES', 'pam', bb.utils.contains('DISTRO_FEATURES', 'libc-crypt', '-lcrypt', '', d), '', d)}"
6
7BBCLASSEXTEND = "native nativesdk"
8
9
10