[PING 2][PATCH v3] Add pretty printers for the NPTL lock types
Martin Galvan
martin.galvan@tallertechnologies.com
Mon Mar 21 19:05:00 GMT 2016
On Mon, Mar 21, 2016 at 1:02 PM, Andreas Schwab <schwab@suse.de> wrote:
> nptl/Makefile automatically links all tests against libpthread. You
> have to copy that into the new makefile.
I know it does, the question is *how* it does it.
>From what I saw, all the nptl Makefile does is set the libpthread
binaries as prerequisites of its tests. Is there some magic somewhere
that uses this to link to libpthread? If so, how does it work, and
what exactly should I write?
Also, what about static linking? Does the 'build-shared' variable tell
how to link against libpthread in all the Makefiles?
More information about the Libc-alpha
mailing list