summaryrefslogtreecommitdiffstats
path: root/poky/meta/recipes-extended/shadow/shadow_4.2.1.bb
diff options
context:
space:
mode:
Diffstat (limited to 'poky/meta/recipes-extended/shadow/shadow_4.2.1.bb')
-rw-r--r--poky/meta/recipes-extended/shadow/shadow_4.2.1.bb10
1 files changed, 10 insertions, 0 deletions
diff --git a/poky/meta/recipes-extended/shadow/shadow_4.2.1.bb b/poky/meta/recipes-extended/shadow/shadow_4.2.1.bb
new file mode 100644
index 000000000..5675cb8cc
--- /dev/null
+++ b/poky/meta/recipes-extended/shadow/shadow_4.2.1.bb
@@ -0,0 +1,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"
+
+
+
OpenPOWER on IntegriCloud