[OpenWrt-Devel] [PATCH] Fix missing dependencies for libuClibc++.so.0
Sławomir Demeszko
s.demeszko at wireless-instruments.com
Mon Feb 2 06:24:45 EST 2015
Compilation of packages written in C++, like smartmontools, unrar, etc.
fail with message:
Package smartmontools is missing dependencies for the following libraries:
libuClibc++.so.0
This is due unescaped "++" in argument for grep command.
---
include/package-ipkg.mk | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/package-ipkg.mk b/include/package-ipkg.mk
index 815aef0..b7dc0ad 100644
--- a/include/package-ipkg.mk
+++ b/include/package-ipkg.mk
@@ -66,7 +66,7 @@ ifneq ($(PKG_NAME),toolchain)
XARGS="$(XARGS)"; \
$(SCRIPT_DIR)/gen-dependencies.sh "$$(IDIR_$(1))"; \
) | while read FILE; do \
- grep -qE "^$$$$FILE$$$$" $(PKG_INFO_DIR)/$(1).provides || \
+ grep -qxF "$$$$FILE" $(PKG_INFO_DIR)/$(1).provides || \
echo "$$$$FILE" >> $(PKG_INFO_DIR)/$(1).missing; \
done; \
if [ -f "$(PKG_INFO_DIR)/$(1).missing" ]; then \
--
1.9.1
_______________________________________________
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