[gnome-online-accounts] build: Fix parallel install failure



commit 2c6f5cb83eaae898973e9f3858228a1b48358e2a
Author: Alexandre Rostovtsev <tetromino gentoo org>
Date:   Sat Jun 13 12:41:15 2015 -0400

    build: Fix parallel install failure
    
    libgoa-backend-1.0 must be installed before libgoawebextension;
    unpleasant automake syntax required.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=750897

 src/goabackend/Makefile.am |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)
---
diff --git a/src/goabackend/Makefile.am b/src/goabackend/Makefile.am
index 8c14774..06467ec 100644
--- a/src/goabackend/Makefile.am
+++ b/src/goabackend/Makefile.am
@@ -166,6 +166,13 @@ libgoawebextension_la_LDFLAGS =                                            \
        -no-undefined                                                   \
        $(NULL)
 
+# Force installation order: libgoa-backend-1.0 must be installed first, othwerwise
+# libtool will incorrectly relink libgoawebextension.la under parallel make install.
+# Requires ugly automake syntax - see http://debbugs.gnu.org/cgi/bugreport.cgi?bug=7328
+
+installwebextensionLTLIBRARIES = install-webextensionLTLIBRARIES
+$(installwebextensionLTLIBRARIES): install-libLTLIBRARIES
+
 # ----------------------------------------------------------------------------------------------------
 
 BUILT_SOURCES =                                                                \



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]