summaryrefslogtreecommitdiff
path: root/package/pam
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-06-20 10:13:00 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2014-06-20 10:13:24 +0200
commit87c0185bf492767c4439f66f65398eb0ed3bda34 (patch)
tree3c3255e6fab49050a3314ea797463d56190d57be /package/pam
parentdfd37d10510d013fc7c49ecb42d1b75c14be4594 (diff)
fix some packages, when static build is choosen
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