This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: Hardcoded libpthread directory
- From: Florian Weimer <fweimer at redhat dot com>
- To: Samuel Thibault <samuel dot thibault at gnu dot org>
- Cc: libc-alpha at sourceware dot org
- Date: Thu, 17 Mar 2016 11:23:17 +0100
- Subject: Re: Hardcoded libpthread directory
- Authentication-results: sourceware.org; auth=none
- References: <20160317003623 dot GW6508 at var dot home>
On 03/17/2016 01:36 AM, 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?
Oops, right. This should have been thread-library-agnostic.
I think other such variable definitions are in Makeconfig.
Florian