[package] diffutils: trivial fix for eglibc builds
authorflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Wed, 19 Sep 2012 15:09:23 +0000 (15:09 +0000)
committerflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>
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>
git-svn-id: svn://svn.openwrt.org/openwrt/packages@33467 3c298f89-4303-0410-b956-a3cf2f4a3e73

devel/diffutils/Makefile

index c71d63d..05cd360 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