[Buildroot] [PATCH] target-finalize: fix libthread_db strip fix

Mike Frysinger vapier at gentoo.org
Sat Nov 27 22:43:12 UTC 2010


The attempt to fix libthread_db for some targets broke others.  If you
want to match more libs, you shouldn't do so by breaking others.  The
correct SONAME is libthread_db.so.#.

Signed-off-by: Mike Frysinger <vapier at gentoo.org>
---
 Makefile |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/Makefile b/Makefile
index 921630e..3798905 100644
--- a/Makefile
+++ b/Makefile
@@ -426,7 +426,7 @@ endif
 ifeq ($(BR2_INSTALL_ELF_CLEANUP),y)
 	PATH="$(HOST_PATH)" toolchain/trim-libs.sh "$(TARGET_DIR)"
 endif
-	find $(TARGET_DIR) -type f -perm +111 '!' -name 'libthread_db*.so' | \
+	find $(TARGET_DIR) -type f -perm +111 '!' -name 'libthread_db*.so*' | \
 		xargs $(STRIPCMD) 2>/dev/null || true
 	find $(TARGET_DIR)/lib/modules -type f -name '*.ko' | \
 		xargs -r $(STRIPCMD) $(STRIP_STRIP_UNNEEDED)
-- 
1.7.3.2




More information about the buildroot mailing list