From 1e74fd3545c8fc2330723239dfdff182012d72c6 Mon Sep 17 00:00:00 2001 From: Alessio Sergi Date: Mon, 17 Jul 2017 17:07:37 +0200 Subject: [PATCH] zziplib: remove references to -specs from .pc files --- srcpkgs/zziplib/template | 3 +++ 1 file changed, 3 insertions(+) diff --git a/srcpkgs/zziplib/template b/srcpkgs/zziplib/template index 93cb305d96..42816fdd56 100644 --- a/srcpkgs/zziplib/template +++ b/srcpkgs/zziplib/template @@ -15,6 +15,9 @@ checksum=1278178bdabac832da6bbf161033d890d335a2e38493c5af553ff5ce7b9b0220 pre_configure() { 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() { depends="${sourcepkg}>=${version}_${revision}"