mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-24 03:18:26 +02:00
base-files: the relinked libpthread needs to be linked against libdl, otherwise calls to dlopen() fail (fixes #8978)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25950 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
d705ffaa77
commit
9ad0be1cd3
@ -357,7 +357,7 @@ ifeq ($(CONFIG_EXTERNAL_TOOLCHAIN),)
|
||||
"$(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 \
|
||||
$(BUILD_LIBGCC) \
|
||||
-ldl $(BUILD_LIBGCC) \
|
||||
-Wl,-soname=libpthread.so.0
|
||||
endef
|
||||
ifneq ($(BUILD_LIBGCC),)
|
||||
|
Loading…
Reference in New Issue
Block a user