From 4bcca969dc7b68592b02c41bde7a1c04ef80f37f Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Mon, 14 Mar 2011 19:27:45 +0000 Subject: [PATCH] base-files: link libpthread against libc SVN-Revision: 26161 --- package/base-files/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/base-files/Makefile b/package/base-files/Makefile index b7fb07309e..60f9f83b5c 100644 --- a/package/base-files/Makefile +++ b/package/base-files/Makefile @@ -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