X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/064595145285da4a9e72fc6da3d1aeac005e8042..ba16e1040b970499eb2822a26d90f759daf4436d:/package/base-files/Makefile?ds=sidebyside 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