[package] base-files: check for libpthread_so.a instead of libc_so.a (some gcc/libc...
authorNicolas Thill <nico@openwrt.org>
Fri, 18 Dec 2009 10:32:38 +0000 (10:32 +0000)
committerNicolas Thill <nico@openwrt.org>
Fri, 18 Dec 2009 10:32:38 +0000 (10:32 +0000)
SVN-Revision: 18810

package/base-files/Makefile

index 5957f14..6783712 100644 (file)
@@ -434,7 +434,7 @@ ifeq ($(CONFIG_EXTERNAL_TOOLCHAIN),)
   endef
 
   define Package/libpthread/install_lib
-       $(if $(wildcard $(TOOLCHAIN_DIR)/usr/lib/libc_so.a),$(CP) $(TOOLCHAIN_DIR)/usr/lib/libpthread_so.a $(1)/lib/libpthread_pic.a)
+       $(if $(wildcard $(TOOLCHAIN_DIR)/usr/lib/libpthread_so.a),$(CP) $(TOOLCHAIN_DIR)/usr/lib/libpthread_so.a $(1)/lib/libpthread_pic.a)
   endef
 
   define Package/librt/install