diff options
author | Waldemar Brodkorb <wbx@uclibc-ng.org> | 2016-08-16 22:08:25 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@uclibc-ng.org> | 2016-08-16 22:08:25 +0200 |
commit | 9725c0b6e4fda2db5c5aac0888d64dc97c69a332 (patch) | |
tree | 9ef3b6f86fcb0f40e6010e296761446b14766e28 /libpthread/linuxthreads/Makefile.in | |
parent | c61570ac32f052e050c46838ea5ab60de5836f8e (diff) |
linuxthreads: install libpthread_nonshared.a
This is useful to build native gcc on targets supporting
Linuxthreads instead of NPTL.
Diffstat (limited to 'libpthread/linuxthreads/Makefile.in')
-rw-r--r-- | libpthread/linuxthreads/Makefile.in | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/libpthread/linuxthreads/Makefile.in b/libpthread/linuxthreads/Makefile.in index 5b7d5596e..47c45eff1 100644 --- a/libpthread/linuxthreads/Makefile.in +++ b/libpthread/linuxthreads/Makefile.in @@ -67,10 +67,13 @@ libpthread-so-y += $(libpthread_OBJ:.o=.oS) lib-a-$(UCLIBC_HAS_THREADS) += $(top_builddir)lib/libpthread.a lib-so-$(UCLIBC_HAS_THREADS) += $(top_builddir)lib/libpthread.so -$(top_builddir)lib/libpthread.so: $(libpthread_OUT)/libpthread_so.a $(libc.depend) +$(top_builddir)lib/libpthread.so: $(libpthread_OUT)/libpthread_so.a $(libc.depend) $(top_builddir)lib/libpthread_nonshared.a $(call link.so,$(libpthread_FULL_NAME),$(ABI_VERSION)) # link for backward compatibility $(call link.so,$(libpthread_FULL_NAME),0) + $(Q)cat $(top_srcdir)extra/scripts/format.lds > $@.tmp + $(Q)echo "GROUP ( $(notdir $@).$(ABI_VERSION) libpthread_nonshared.a )" >> $@.tmp + $(Q)mv $@.tmp $@ ifeq ($(PTHREADS_DEBUG_SUPPORT),y) $(libpthread_OUT)/libpthread_so.a: STRIP_FLAGS:=$(STRIP_FLAGS:-x=-X --strip-debug) |