[Spice-commits] gtk/Makefile.am

Christophe Fergau teuf at kemper.freedesktop.org
Wed Apr 10 08:31:15 PDT 2013


 gtk/Makefile.am |    5 +++++
 1 file changed, 5 insertions(+)

New commits:
commit 79488a7e7eb3334705ba458d9e6c43a8ef5f703e
Author: Tiziano Müller <tiziano.mueller at stepping-stone.ch>
Date:   Fri Jun 8 09:08:00 2012 +0200

    build: fix parallel install
    
    This is a workaround for broken parallel install support in automake
    with LTLIBRARIES, see http://debbugs.gnu.org/cgi/bugreport.cgi?bug=7328
    
    Broken parallel install can be reproduced when building with --with-gtk=2.0
    and dies with:
    /home/teuf/redhat/spice-gtk/gtk/.libs/libspice-client-gtk-2.0.so: file not recognized: File truncated
    collect2: error: ld returned 1 exit status
    libtool: install: error: relink `SpiceClientGtk.la' with the above command before installing it
    make[5]: *** [install-pyexecLTLIBRARIES] Erreur 1
    m

diff --git a/gtk/Makefile.am b/gtk/Makefile.am
index eb64b13..3c6d3e6 100644
--- a/gtk/Makefile.am
+++ b/gtk/Makefile.am
@@ -546,6 +546,11 @@ vncdisplaykeymap_win322xtkbd.c:
 if WITH_PYTHON
 pyexec_LTLIBRARIES = SpiceClientGtk.la
 
+# workaround for broken parallel install support in automake with LTLIBRARIES
+# http://debbugs.gnu.org/cgi/bugreport.cgi?bug=7328
+install_pyexecLTLIBRARIES = install-pyexecLTLIBRARIES
+$(install_pyexecLTLIBRARIES): install-libLTLIBRARIES
+
 SpiceClientGtk_la_LIBADD = libspice-client-gtk-2.0.la libspice-client-glib-2.0.la $(PYGTK_LIBS)
 SpiceClientGtk_la_CFLAGS = $(GTK_CFLAGS) $(PYTHON_INCLUDES) $(PYGTK_CFLAGS) $(WARN_PYFLAGS)
 SpiceClientGtk_la_LDFLAGS = -module -avoid-version -fPIC


More information about the Spice-commits mailing list