wine: nopie_files
This commit is contained in:
parent
e7a4323e3b
commit
cb72dfc4cd
2 changed files with 12 additions and 6 deletions
|
@ -99,7 +99,14 @@ hook() {
|
|||
return 1
|
||||
fi
|
||||
echo " Stripped executable: ${f#$PKGDESTDIR}"
|
||||
if [ -z "$nopie" ]; then
|
||||
unset nopie_found
|
||||
for x in ${nopie_files}; do
|
||||
if [ "$x" = "${f#$PKGDESTDIR}" ]; then
|
||||
nopie_found=1
|
||||
break
|
||||
fi
|
||||
done
|
||||
if [ -z "$nopie" ] && [ -z "$nopie_found" ]; then
|
||||
msg_red "$pkgver: non-PIE executable found in PIE build: ${f#$PKGDESTDIR}\n"
|
||||
return 1
|
||||
fi
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue