From c3923e9190488cce6bb434553402f0ef68b7e1f2 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Mon, 11 Dec 2017 12:16:43 +0100 Subject: [PATCH] build: support mklibs on libraries without extra soname Signed-off-by: Felix Fietkau --- include/rootfs.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/rootfs.mk b/include/rootfs.mk index 74785cbbd3..7453e6823b 100644 --- a/include/rootfs.mk +++ b/include/rootfs.mk @@ -23,7 +23,7 @@ ifdef CONFIG_USE_MKLIBS --target $(REAL_GNU_TARGET_NAME) \ `cat $(TMP_DIR)/mklibs-progs $(TMP_DIR)/mklibs-libs` 2>&1 $(RSTRIP) $(TMP_DIR)/mklibs-out - for lib in `ls $(TMP_DIR)/mklibs-out/*.so.* 2>/dev/null`; do \ + for lib in `ls $(TMP_DIR)/mklibs-out/*.so* 2>/dev/null`; do \ LIB="$${lib##*/}"; \ DEST="`ls "$(1)/lib/$$LIB" "$(1)/usr/lib/$$LIB" 2>/dev/null`"; \ [ -n "$$DEST" ] || continue; \ -- 2.30.2