diff options
author | Quentin Glidic <sardemff7+git@sardemff7.net> | 2016-08-15 17:29:09 +0200 |
---|---|---|
committer | Quentin Glidic <sardemff7+git@sardemff7.net> | 2016-08-16 10:29:00 +0200 |
commit | 154c5d23041cb51973dc07689ab195759e2b59df (patch) | |
tree | 2ba6ce62d82afd1f1ef84793da10bff5a6764dc6 | |
parent | 2af7e208cf4a50222bb7874fb8daf7623b997bda (diff) |
Makefile.am: Fix libtool race
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
Acked-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
-rw-r--r-- | Makefile.am | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am index 6c3f4f79..1e63a58c 100644 --- a/Makefile.am +++ b/Makefile.am @@ -61,6 +61,14 @@ CLEANFILES = weston.ini \ internal-screenshot-00.png \ $(BUILT_SOURCES) +# Libtool race fix +# libweston-desktop depends on libweston, and desktop-shell depends on both. +# This leads to a libtool race at installation, because libtool re-links +# everything. +# If you add more fixes, you may need a workaround to keep automake generated +# targets. See http://debbugs.gnu.org/cgi/bugreport.cgi?bug=7328 +install-libweston_moduleLTLIBRARIES install-moduleLTLIBRARIES: install-libLTLIBRARIES + lib_LTLIBRARIES = libweston-@LIBWESTON_MAJOR@.la libweston_@LIBWESTON_MAJOR@_la_CPPFLAGS = $(AM_CPPFLAGS) -DIN_WESTON libweston_@LIBWESTON_MAJOR@_la_CFLAGS = $(AM_CFLAGS) $(COMPOSITOR_CFLAGS) $(LIBUNWIND_CFLAGS) |