void-packages/srcpkgs/muffin/patches/pkgconfig-honor-sysroot-cro...

14 lines
356 B
Diff

--- src/libmuffin.pc.in
+++ src/libmuffin.pc.in
@@ -2,8 +2,8 @@
exec_prefix=@exec_prefix@
libdir=@libdir@
includedir=@includedir@
-girdir=@libdir@/muffin
-typelibdir=@libdir@/muffin
+girdir=${pc_sysrootdir}@libdir@/muffin
+typelibdir=${pc_sysrootdir}@libdir@/muffin
apiversion=@MUFFIN_PLUGIN_API_VERSION@
muffin_major_version=@MUFFIN_MAJOR_VERSION@