[OpenWrt-Devel] [PATCH] perf: replace libelf1 select by a depend

Mathieu Olivari mathieu at codeaurora.org
Tue May 26 17:18:15 EDT 2015


perf has libelf1 marked as a select, but this package is actually
located in packages.git. As such, the dependency is ignored unless
libelf1 package has been manually installed previously.

To avoid any missing dependency, we'll mark it as a regular depend.
This will make sure the dependency check doesn't silently fail.

Signed-off-by: Mathieu Olivari <mathieu at codeaurora.org>
---
 package/devel/perf/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/package/devel/perf/Makefile b/package/devel/perf/Makefile
index b77e29a..e31a693 100644
--- a/package/devel/perf/Makefile
+++ b/package/devel/perf/Makefile
@@ -19,7 +19,7 @@ include $(INCLUDE_DIR)/package.mk
 define Package/perf
   SECTION:=devel
   CATEGORY:=Development
-  DEPENDS:= @USE_GLIBC +libelf1 +libdw +libpthread +librt +binutils
+  DEPENDS:= libelf1 +libdw +libpthread +librt +binutils
   TITLE:=Linux performance monitoring tool
   VERSION:=$(LINUX_VERSION)-$(PKG_RELEASE)
   URL:=http://www.kernel.org
-- 
2.1.4
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list