From 94705516bf5ba7c6b3ab56e7e5d93762522b2cf3 Mon Sep 17 00:00:00 2001 From: Alessio Sergi Date: Wed, 19 Jul 2017 12:10:04 +0200 Subject: [PATCH] libextractor: remove references to -specs from .pc file --- srcpkgs/libextractor/template | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/srcpkgs/libextractor/template b/srcpkgs/libextractor/template index a0a24987a2..78a5123e13 100644 --- a/srcpkgs/libextractor/template +++ b/srcpkgs/libextractor/template @@ -15,6 +15,10 @@ homepage="https://www.gnu.org/software/libextractor/" distfiles="${GNU_SITE}/$pkgname/$pkgname-$version.tar.gz" checksum=84128170a4a9aa3a19942dd53fdf30ed17b56d7fae79b5f6e7e17a0d65d1f66c +post_install() { + sed -i "s|\(-specs=.*hardened-ld\)||g" ${DESTDIR}/usr/lib/pkgconfig/libextractor.pc +} + libextractor-devel_package() { short_desc+=" - development files" depends="${sourcepkg}>=${version}_${revision}"