diff options
author | David Herrmann <dh.herrmann@gmail.com> | 2015-03-12 17:27:31 +0100 |
---|---|---|
committer | Seung-Woo Kim <sw0312.kim@samsung.com> | 2016-12-14 13:48:36 +0900 |
commit | edb33c40fa2ec7c9d8202c39da3a71feaf24ecb9 (patch) | |
tree | f288f0cce9697c34a78c0eec4cd36233d31cee5a /samples | |
parent | aa77b6978b90e858556fa1186f066f04219a66a8 (diff) |
kdbus: samples/kdbus: add -lrt
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@oracle.com>
Signed-off-by: David Herrmann <dh.herrmann@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Paul Osmialowski <p.osmialowsk@samsung.com>
Diffstat (limited to 'samples')
-rw-r--r-- | samples/kdbus/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/samples/kdbus/Makefile b/samples/kdbus/Makefile index d009025369f4..eee9b9aed632 100644 --- a/samples/kdbus/Makefile +++ b/samples/kdbus/Makefile @@ -8,3 +8,4 @@ always := $(hostprogs-y) HOSTCFLAGS_kdbus-workers.o += \ -I$(objtree)/usr/include/ \ -I$(objtree)/include/uapi/ +HOSTLOADLIBES_kdbus-workers := -lrt |