diff options
author | Javier Jardón <jjardon@gnome.org> | 2014-10-27 15:13:19 +0000 |
---|---|---|
committer | Pekka Paalanen <pekka.paalanen@collabora.co.uk> | 2014-11-21 14:49:47 +0200 |
commit | 01030c04b3a1711dac3569fe033236b7c84dd21c (patch) | |
tree | 6a7f80426ab1e9083b6e675a14f871a5cc3b0ed4 | |
parent | 2858cc2a50854685b44eee72994dea57f5aa4246 (diff) | |
download | weston-01030c04b3a1711dac3569fe033236b7c84dd21c.tar.gz |
Makefile.am: Link weston_multi_resource against rt library
This fixes this build failure:
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.3/../../../../x86_64-unknown-linux-gnu/bin/ld:
clients/weston_multi_resource-multi-resource.o: undefined reference to
symbol 'clock_gettime@@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.3/../../../../x86_64-unknown-linux-gnu/bin/ld:
note: 'clock_gettime@@GLIBC_2.2.5' is defined in DSO /lib64/librt.so.1
so try adding it to the linker command line
/lib64/librt.so.1: could not read symbols: Invalid operation
-rw-r--r-- | Makefile.am | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am index b2d68935..0c08acb9 100644 --- a/Makefile.am +++ b/Makefile.am @@ -419,7 +419,7 @@ weston_simple_touch_LDADD = $(SIMPLE_CLIENT_LIBS) libshared.la weston_multi_resource_SOURCES = clients/multi-resource.c weston_multi_resource_CFLAGS = $(AM_CFLAGS) $(SIMPLE_CLIENT_CFLAGS) -weston_multi_resource_LDADD = $(SIMPLE_CLIENT_LIBS) libshared.la -lm +weston_multi_resource_LDADD = $(SIMPLE_CLIENT_LIBS) libshared.la -lrt -lm endif if BUILD_SIMPLE_EGL_CLIENTS |