build: support mklibs on libraries without extra soname
authorFelix Fietkau <nbd@nbd.name>
Mon, 11 Dec 2017 11:16:43 +0000 (12:16 +0100)
committerFelix Fietkau <nbd@nbd.name>
Wed, 13 Dec 2017 10:28:37 +0000 (11:28 +0100)
Signed-off-by: Felix Fietkau <nbd@nbd.name>
include/rootfs.mk

index 74785cbbd39cfbd50d087ec157323f64fb52995b..7453e6823b68bc1e37f48cc380cd36dc6688e64d 100644 (file)
@@ -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; \