zziplib: remove references to -specs from .pc files

This commit is contained in:
Alessio Sergi 2017-07-17 17:07:37 +02:00
parent d92269bd2a
commit 1e74fd3545
1 changed files with 3 additions and 0 deletions

View File

@ -15,6 +15,9 @@ checksum=1278178bdabac832da6bbf161033d890d335a2e38493c5af553ff5ce7b9b0220
pre_configure() { pre_configure() {
sed -i '/SUBDIRS/s/docs//' Makefile.in sed -i '/SUBDIRS/s/docs//' Makefile.in
} }
post_install() {
sed -i "s|\(-specs=.*hardened-ld\)||g" -i ${DESTDIR}/usr/lib/pkgconfig/*.pc
}
zziplib-devel_package() { zziplib-devel_package() {
depends="${sourcepkg}>=${version}_${revision}" depends="${sourcepkg}>=${version}_${revision}"