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"