[TASK] Trivial libs related fixes (Was Re: [PATCH weston 2/6] libweston: Use the monotonic clock in weston_compositor_get_time)

Emil Velikov emil.l.velikov at gmail.com
Wed Dec 7 11:48:36 UTC 2016


Hi Dima,

Your patch reminded me a few trivial fixes/cleanups.
In case you/others feel like sorting out some low hanging fruit ;-)

 - wayland: bring WESTON_SEARCH_LIBS check for dlopen (libdl) and
clock_gettime (librt).
 - weston: replace WESTON_SEARCH_LIBS([JPEG] ...) with
PKG_CHECK_MODULES(JPEG, [libjpeg])
 - weston: change/drop the following comment - glibc is not the only
runtime one can use.
# In old glibc versions (< 2.17) clock_gettime() is in librt
 - weston: check for dladdr (you'll need DLOPEN_LIBS to link against)
at configure and error out or add fallback code in the composer.


Thanks
Emil


More information about the wayland-devel mailing list