summaryrefslogtreecommitdiff
path: root/package/pam/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2013-12-20 18:41:11 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2013-12-20 18:41:11 +0100
commit272b9fb572a6b1f585cf6f4f4150b07f1c1537bf (patch)
tree5ede8c935478f6db39bf8efc7ea14919e58d6aa1 /package/pam/Makefile
parentbde68f551d953927d476dc4f5ccd1c89ca001539 (diff)
parented95e17c2e88caff425eca534a794ea0c489fc5c (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'package/pam/Makefile')
-rw-r--r--package/pam/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/package/pam/Makefile b/package/pam/Makefile
index bf322e71e..c9a15a4b5 100644
--- a/package/pam/Makefile
+++ b/package/pam/Makefile
@@ -24,6 +24,10 @@ XAKE_FLAGS+= GCC_HONOUR_COPTS=s
CONFIGURE_ARGS+= --disable-nis \
--enable-db=no
+post-install:
+ # /lib is not automatically installed to staging area
+ $(CP) $(WRKINST)/lib/libpam*.so* $(STAGING_TARGET_DIR)/usr/lib
+
pam-install:
$(INSTALL_DIR) $(IDIR_PAM)/etc/security
$(CP) $(WRKINST)/etc/security/* $(IDIR_PAM)/etc/security
@@ -31,7 +35,5 @@ pam-install:
$(CP) $(WRKINST)/lib/libpam*.so* $(IDIR_PAM)/lib
$(CP) $(WRKINST)/lib/security/*.so* $(IDIR_PAM)/lib/security
$(CP) ./files/pam.conf $(IDIR_PAM)/etc
- # /lib is not automatically installed to staging area
- $(CP) $(WRKINST)/lib/libpam*.so* $(STAGING_DIR)/usr/lib
include ${TOPDIR}/mk/pkg-bottom.mk