glib2: Add conditional dependency on librt if using eglibc
authorHamish Guthrie <hcg@openwrt.org>
Mon, 10 Sep 2012 14:36:39 +0000 (14:36 +0000)
committerHamish Guthrie <hcg@openwrt.org>
Mon, 10 Sep 2012 14:36:39 +0000 (14:36 +0000)
SVN-Revision: 33361

libs/glib2/Makefile

index 21a74260cb56f857c818b414899925a5ab3f882d..f17ad0e3f77997cc959e8c05340f8c9338305cdd 100644 (file)
@@ -30,7 +30,7 @@ include $(INCLUDE_DIR)/nls.mk
 define Package/glib2
   SECTION:=libs
   CATEGORY:=Libraries
-  DEPENDS:=$(ICONV_DEPENDS) $(INTL_DEPENDS) +zlib +libpthread
+  DEPENDS:=$(ICONV_DEPENDS) $(INTL_DEPENDS) +zlib +libpthread +USE_EGLIBC:librt
   TITLE:=glib 2.0
   URL:=http://www.gtk.org/
 endef