[PATCH] ubi-tests: fix pthreads linking

Artem Bityutskiy dedekind1 at gmail.com
Mon Dec 3 08:25:51 EST 2012


On Sat, 2012-11-24 at 23:26 -0800, Brian Norris wrote:
> Technically, '-l' linker options should be included only after the
> objects which must link to the library. So when we include '-lpthread'
> in the LDFLAGS variable, it gets placed too early (i.e., before the
> io_paral.o object), and so the pthread linkage never occurs. The
> following error probably only shows up with linkers that don't link
> pthreads by default.

Pushed to mtd-utils, thanks!

-- 
Best Regards,
Artem Bityutskiy
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part
URL: <http://lists.infradead.org/pipermail/linux-mtd/attachments/20121203/90be5ff1/attachment.sig>


More information about the linux-mtd mailing list