uclibc: only strip libpthread on 0.9.28.3 / not PTHREAD_DEBUG
authorPeter Korsgaard <jacmet@sunsite.dk>
Wed, 18 Jun 2008 08:51:10 +0000 (08:51 -0000)
committerPeter Korsgaard <jacmet@sunsite.dk>
Wed, 18 Jun 2008 08:51:10 +0000 (08:51 -0000)
toolchain/uClibc/uclibc.mk

index bd6806375c6f5fbc55364f8acdcb43066b31a603..626c504d55dc05f2cde0915f338d4b59941448f6 100644 (file)
@@ -524,7 +524,11 @@ $(TARGET_DIR)/lib/libc.so.0: $(STAGING_DIR)/usr/lib/libc.a
                DEVEL_PREFIX=/usr/ \
                RUNTIME_PREFIX=/ \
                install_runtime
-       $(STRIPCMD) $(@D)/lib*.so*
+ifeq ($(BR2_UCLIBC_VERSION_0_9_28_3),y)
+ifneq ($(BR2_PTHREAD_DEBUG),y)
+       -$(STRIPCMD) $(STRIP_STRIP_UNNEEDED) $(@D)/libpthread*.so*
+endif
+endif
        touch -c $@
 
 $(TARGET_DIR)/usr/bin/ldd: $(cross_compiler)