summaryrefslogtreecommitdiff
path: root/package/pam
diff options
context:
space:
mode:
Diffstat (limited to 'package/pam')
-rw-r--r--package/pam/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/package/pam/Makefile b/package/pam/Makefile
index 951307a9b..f08384a7b 100644
--- a/package/pam/Makefile
+++ b/package/pam/Makefile
@@ -28,8 +28,10 @@ CONFIGURE_ARGS+= --disable-nis \
--enable-db=no
post-install:
+ifeq ($(ADK_TARGET_USE_STATIC_LIBS),)
# /lib is not automatically installed to staging area
$(CP) $(WRKINST)/lib/libpam*.so* $(STAGING_TARGET_DIR)/usr/lib
+endif
pam-install:
$(INSTALL_DIR) $(IDIR_PAM)/etc/security