summaryrefslogtreecommitdiff
path: root/package/pam/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2013-12-17 14:55:37 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2013-12-17 14:55:37 +0100
commit3cd4a03f27da57d2317c5b285cf8ad1990bcdac2 (patch)
tree2a09e93c07595459a8ac8c637d8126eddcb85cb4 /package/pam/Makefile
parent86534f8753b2dcac52f1ceb3bfc01ccca6697f80 (diff)
parent2f3dbff3a8283fd1307ec71b6e4d5c70e80f56dc (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