void-packages/srcpkgs/muffin/patches/pkgconfig-honor-sysroot-cross.patch

14 lines
356 B
Diff
Raw Normal View History

--- 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@