From 26c9401cba3634e92bc21ca59ca31d68b473aafe Mon Sep 17 00:00:00 2001 From: Owen Rafferty Date: Fri, 10 Jun 2022 02:05:52 -0500 Subject: [PATCH] gtk+3: remove installed libepoxy --- extra/gtk+3/build | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/extra/gtk+3/build b/extra/gtk+3/build index 29063fa3..4bda5d48 100755 --- a/extra/gtk+3/build +++ b/extra/gtk+3/build @@ -49,9 +49,14 @@ ninja -C output install # compiler errors for some packages. It has no use at all. rm -f "$1/usr/bin/gtk-encode-symbolic-svg" -# Remove epoxy references from installed pkg-config files. The build system -# should have done this for us as it is statically linked. +# Remove libepoxy and its references from installed pkg-config files. The build +# system should have done this for us as it is statically linked. for f in "$1/usr/lib/pkgconfig/"*.pc; do sed 's/epoxy >= 1.4//' "$f" > _ mv -f _ "$f" done + +rm -rf \ + "$1/usr/lib/pkgconfig/epoxy.pc" \ + "$1/usr/lib/libepoxy.a" \ + "$1/usr/include/epoxy"