This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: Hardcoded libpthread directory
- From: Joseph Myers <joseph at codesourcery dot com>
- To: Samuel Thibault <samuel dot thibault at gnu dot org>
- Cc: <libc-alpha at sourceware dot org>
- Date: Thu, 17 Mar 2016 16:48:00 +0000
- Subject: Re: Hardcoded libpthread directory
- Authentication-results: sourceware.org; auth=none
- References: <20160317003623 dot GW6508 at var dot home>
On Thu, 17 Mar 2016, Samuel Thibault wrote:
> Hello,
>
> In glibc 2.23, malloc/Makefile contains:
>
> ./malloc/Makefile:$(objpfx)tst-malloc-backtrace: $(common-objpfx)nptl/libpthread.so \
>
> So this is actually hardcoding the directory containing libpthread.so,
> thus preventing build on systems which use another libpthread than nptl.
>
> Shouldn't we introduce a variable to specify that directory?
See shared-thread-library and static-thread-library in
sysdeps/nptl/Makeconfig.
--
Joseph S. Myers
joseph@codesourcery.com