glib-2.0.pc: Add -lrt to private libraries to assist static linking
authorColin Walters <walters@verbum.org>
Fri, 22 Jul 2011 16:41:41 +0000 (12:41 -0400)
committerColin Walters <walters@verbum.org>
Fri, 22 Jul 2011 16:41:41 +0000 (12:41 -0400)
https://bugzilla.gnome.org/show_bug.cgi?id=654078

glib-2.0.pc.in

index 3d1ac12..ec4256d 100644 (file)
@@ -11,5 +11,5 @@ Name: GLib
 Description: C Utility Library
 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@