[package] diffutils: trivial fix for eglibc builds
authorFlorian Fainelli <florian@openwrt.org>
Wed, 19 Sep 2012 15:09:23 +0000 (15:09 +0000)
committerFlorian Fainelli <florian@openwrt.org>
Wed, 19 Sep 2012 15:09:23 +0000 (15:09 +0000)
When building against eglibc, libc doesn't include librt therefore it must be explicitly included.

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
SVN-Revision: 33467

devel/diffutils/Makefile

index c71d63ddf355039a61abfab77e6a78816991a2fb..05cd3602050cfe54c8ecbd9335f73b2a2c1fce42 100644 (file)
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=diffutils
 PKG_VERSION:=3.0
-PKG_RELEASE:=2
+PKG_RELEASE:=3
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=@GNU/diffutils
@@ -22,6 +22,7 @@ include $(INCLUDE_DIR)/package.mk
 define Package/diffutils
   SECTION:=devel
   CATEGORY:=Development
+  DEPENDS:=+USE_EGLIBC:librt
   TITLE:=diffutils
   URL:=http://www.gnu.org/software/diffutils/
 endef