summaryrefslogtreecommitdiff
path: root/data/pam-modules/make.sh
blob: 18bd58e50456eb6b1bfe011a4cefbf75564bfb65 (plain)
1
2
3
4
5
6
7
8
9
pkg:setup

pkg: mkdir -p /usr/lib/pam

for module in launchd unix uwtmp; do
    echo "${module}"
    "${PKG_TARG}-gcc" -shared -o "pam_${module}.so" "pam_${module}"/*.c -lpam -I"${PKG_DATA}" || true
    pkg: cp -a "pam_${module}.so" /usr/lib/pam
done