summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2011-03-14 19:27:45 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2011-03-14 19:27:45 +0000
commitba16e1040b970499eb2822a26d90f759daf4436d (patch)
tree6708aac7984af585623a3af61c96b123db90971e
parenta96b37d703b337eb4127dd2b34030638ecbc83d3 (diff)
base-files: link libpthread against libc
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26161 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--package/base-files/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/base-files/Makefile b/package/base-files/Makefile
index b7fb07309..60f9f83b5 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