summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTiziano Müller <tiziano.mueller@stepping-stone.ch>2013-07-31 18:04:29 +0200
committerVijay Bellur <vbellur@redhat.com>2013-08-02 06:44:27 -0700
commitcd5f31de1d1b1668bed66de3ba83b64320712af8 (patch)
tree467c8252ea20077271d05249cde70944e4457bc0
parent03d9369ae9e69491911adbc4f16570fa1dedaa1e (diff)
Fix broken parallel install
There is an automake bug when using _LTLIBRARIES, breaking parallel `make install` (see http://debbugs.gnu.org/cgi/bugreport.cgi?bug=7328) BUG: 981888 Change-Id: Ib35ae47c048a45a881aeb9dbf8d41e09a4e766b9 Signed-off-by: Tiziano Müller <tiziano.mueller@stepping-stone.ch> Reviewed-on: http://review.gluster.org/5468 Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Vijay Bellur <vbellur@redhat.com>
-rw-r--r--api/src/Makefile.am4
1 files changed, 4 insertions, 0 deletions
diff --git a/api/src/Makefile.am b/api/src/Makefile.am
index 8980c021c89..0782435e065 100644
--- a/api/src/Makefile.am
+++ b/api/src/Makefile.am
@@ -17,6 +17,10 @@ libgfapi_la_CPPFLAGS = $(GF_CPPFLAGS) -D__USE_FILE_OFFSET64 \
xlator_LTLIBRARIES = api.la
xlatordir = $(libdir)/glusterfs/$(PACKAGE_VERSION)/xlator/mount
+# workaround for broken parallel install support in automake with LTLIBRARIES
+# http://debbugs.gnu.org/cgi/bugreport.cgi?bug=7328
+install_xlatorLTLIBRARIES = install-xlatorLTLIBRARIES
+$(install_xlatorLTLIBRARIES): install-libLTLIBRARIES
api_la_SOURCES = glfs-master.c
api_la_DEPENDENCIES = libgfapi.la