otpw: must be compiled as PIC.

This commit is contained in:
Juan RP 2015-02-03 11:45:58 +01:00
parent 0848daf3d1
commit 25af1650fd

View file

@ -13,7 +13,7 @@ checksum=98aca38a61c7713677b96f24426ca7053480c0fd077d91b1e99bc9f92ccb832a
do_build() {
sed -i "/ld --shared/s,ld,$LD," Makefile
make CC=$CC LD=$LD CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS" ${makejobs}
make CC=$CC LD=$LD CFLAGS="$CFLAGS -fPIC" LDFLAGS="$LDFLAGS" ${makejobs}
}
do_install() {
vinstall pam_otpw.so 755 /usr/lib/security