Skip to content

Instantly share code, notes, and snippets.

@pkrnjevic
Created December 19, 2011 07:22
Show Gist options
  • Save pkrnjevic/1495866 to your computer and use it in GitHub Desktop.
Save pkrnjevic/1495866 to your computer and use it in GitHub Desktop.
corrected homebrew patch file for glib package
--- glib-2.0.pc.in.orig 2011-08-03 16:45:19.000000000 -0500
+++ glib-2.0.pc.in 2011-08-17 01:59:10.000000000 -0500
@@ -12,4 +12,4 @@
Version: @VERSION@
Libs: -L${libdir} -lglib-2.0 @INTLLIBS@
-Libs.private: @ICONV_LIBS@
+Libs.private: @ICONV_LIBS@ @GLIB_RT_LIBS@
-Cflags: -I${includedir}/glib-2.0 -I${libdir}/glib-2.0/include @GLIB_EXTRA_CFLAGS@
+Cflags: -I${includedir}/glib-2.0 -I${libdir}/glib-2.0/include -I${includedir} @GLIB_EXTRA_CFLAGS@
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment