]> git.ipfire.org Git - thirdparty/glibc.git/commit
htl: Fix linking static tests by factorizing the symbols list
authorSamuel Thibault <samuel.thibault@ens-lyon.org>
Wed, 10 Jun 2020 20:03:52 +0000 (20:03 +0000)
committerSamuel Thibault <samuel.thibault@ens-lyon.org>
Wed, 10 Jun 2020 21:34:19 +0000 (21:34 +0000)
commitbc9cf8fbe8eafe375719ad869ab81609cfc3529c
tree9734a4e576acea9e3e5f5ba17d88f3156fc6357d
parent533dd2acf7eefa969fb770fa782b20519bd4bc0f
htl: Fix linking static tests by factorizing the symbols list

libpthread_syms.a will contain the symbols that libc tries to get from
libpthread, to be used by the system, but also by tests.

* htl/libpthread.a, htl/libpthread_pic.a: Link libpthread_syms.a and Move EXTERN
references to...
* htl/libpthread_syms.a: ... new file. Add missing
__pthread_enable_asynccancel reference.
* htl/Makefile: Install libpthread_syms.a and link it into static tests.
htl/Makefile
htl/libpthread.a
htl/libpthread_pic.a
htl/libpthread_syms.a [new file with mode: 0644]