Fix Cflags for gettext keg include.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
This commit is contained in:
Kevin M. Dulzo 2010-02-19 11:37:19 -06:00 committed by Adam Vandenberg
parent c03261f4ea
commit 60695dcb7a

View file

@ -54,6 +54,9 @@ class Glib <Formula
inreplace lib+'pkgconfig'+'glib-2.0.pc',
'Libs: -L${libdir} -lglib-2.0 -lintl',
"Libs: -L${libdir} -lglib-2.0 -L#{gettext.lib} -lintl"
inreplace lib+'pkgconfig'+'glib-2.0.pc',
'Cflags: -I${includedir}/glib-2.0 -I${libdir}/glib-2.0/include',
"Cflags: -I${includedir}/glib-2.0 -I${libdir}/glib-2.0/include -I#{gettext.include}"
(prefix+'share'+'gtk-doc').rmtree
end