[PATCH] ubi-tests: fix pthreads linking
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!
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 836 bytes
Desc: This is a digitally signed message part
More information about the linux-mtd