[PATCH weston] build: actually use CLOCK_GETTIME_LIBS for zuctest

Pekka Paalanen ppaalanen at gmail.com
Fri Apr 22 13:32:13 UTC 2016


On Fri, 22 Apr 2016 10:13:40 -0300
Gustavo Zacarias <gustavo at zacarias.com.ar> wrote:

> The fix/check in 34d59859 is incomplete.
> 
> Signed-off-by: Gustavo Zacarias <gustavo at zacarias.com.ar>
> ---
>  Makefile.am | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/Makefile.am b/Makefile.am
> index c042c68..ae34c02 100644
> --- a/Makefile.am
> +++ b/Makefile.am
> @@ -1333,7 +1333,8 @@ noinst_PROGRAMS += zuctest$(EXEEXT)
>  
>  zuctest_LDADD =			\
>  	libzunitc.la		\
> -	libzunitcmain.la
> +	libzunitcmain.la	\
> +	$(CLOCK_GETTIME_LIBS)
>  
>  zuctest_CFLAGS =				\
>  	$(AM_CFLAGS)				\

Hi,

I see
tools/zunitc/src/zunitc_impl.c:1145:	clock_gettime(TARGET_TIMER, &begin);
tools/zunitc/src/zunitc_impl.c:1160:	clock_gettime(TARGET_TIMER, &end);
indeed.

But would the addition not belong to libzunitc_la_LIBADD instead?


Thanks,
pq
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 811 bytes
Desc: OpenPGP digital signature
URL: <https://lists.freedesktop.org/archives/wayland-devel/attachments/20160422/bf4fa0cd/attachment.sig>


More information about the wayland-devel mailing list