mirror of
https://github.com/openwrt/openwrt.git
synced 2025-01-21 03:55:06 +00:00
base-files: link libpthread against libc
SVN-Revision: 26161
This commit is contained in:
parent
1e89670f0e
commit
4bcca969dc
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user