Re: [PATCH] kdbus: samples/kdbus: add -lrt

From: Greg Kroah-Hartman
Date: Thu Mar 12 2015 - 17:41:08 EST


On Thu, Mar 12, 2015 at 05:27:31PM +0100, David Herrmann wrote:
> On older systems -lrt is needed for clock_gettime(). Add it to
> HOSTLOADLIBES of kdbus-workers so it builds fine on those systems.
>
> Reported-by: Sasha Levin <sasha.levin@xxxxxxxxxx>
> Signed-off-by: David Herrmann <dh.herrmann@xxxxxxxxx>
> ---
> Hi
>
> This should fix the build-issues of the kdbus-examples on older systems where
> clock_gettime() is not available in -lc, but requires -lrt.
>
> This is based on gregkh/char-misc/kdbus, and available on:
> http://cgit.freedesktop.org/~dvdhrm/linux/log/?h=kdbus

Now applied, thanks.

greg k-h
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/