base-files: link libpthread against libc
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Mon, 14 Mar 2011 19:27:45 +0000 (19:27 +0000)
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Mon, 14 Mar 2011 19:27:45 +0000 (19:27 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26161 3c298f89-4303-0410-b956-a3cf2f4a3e73

package/base-files/Makefile

index b7fb073..60f9f83 100644 (file)
@@ -362,7 +362,7 @@ ifneq ($(BUILD_LIBGCC),)
                "$(wildcard $(TOOLCHAIN_DIR)/lib/libpthread_so.a)" \
                "$(patsubst $(TOOLCHAIN_DIR)/lib/%,$(PKG_BUILD_DIR)/%,$(wildcard $(TOOLCHAIN_DIR)/lib/libpthread-*.so))" \
                -Wl,-z,nodelete,-z,initfirst,-init=__pthread_initialize_minimal_internal \
-               -ldl $(BUILD_LIBGCC) \
+               -ldl -lc $(BUILD_LIBGCC) \
                -Wl,-soname=libpthread.so.0
   endef
   define Build/Compile/libgcc
This page took 0.028166 seconds and 4 git commands to generate.