base-files: link libpthread against libc

SVN-Revision: 26161
This commit is contained in:
Felix Fietkau 2011-03-14 19:27:45 +00:00
parent 1e89670f0e
commit 4bcca969dc

View File

@ -362,7 +362,7 @@ ifneq ($(BUILD_LIBGCC),)
"$(wildcard $(TOOLCHAIN_DIR)/lib/libpthread_so.a)" \ "$(wildcard $(TOOLCHAIN_DIR)/lib/libpthread_so.a)" \
"$(patsubst $(TOOLCHAIN_DIR)/lib/%,$(PKG_BUILD_DIR)/%,$(wildcard $(TOOLCHAIN_DIR)/lib/libpthread-*.so))" \ "$(patsubst $(TOOLCHAIN_DIR)/lib/%,$(PKG_BUILD_DIR)/%,$(wildcard $(TOOLCHAIN_DIR)/lib/libpthread-*.so))" \
-Wl,-z,nodelete,-z,initfirst,-init=__pthread_initialize_minimal_internal \ -Wl,-z,nodelete,-z,initfirst,-init=__pthread_initialize_minimal_internal \
-ldl $(BUILD_LIBGCC) \ -ldl -lc $(BUILD_LIBGCC) \
-Wl,-soname=libpthread.so.0 -Wl,-soname=libpthread.so.0
endef endef
define Build/Compile/libgcc define Build/Compile/libgcc