otpw: must be compiled as PIC.
This commit is contained in:
parent
0848daf3d1
commit
25af1650fd
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue