summaryrefslogtreecommitdiffstats
path: root/api/src/Makefile.am
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-07-31 19:32:19 -0700
commit16061c0d0f681117a53895d309e3a09b38f673e2 (patch)
treeb99a0865f2ffb5e69d60e09ffafa8a5e96364d86 /api/src/Makefile.am
parent394055e31f3c90701336c84aafa7d3ab1e313c65 (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) Change-Id: I06aea1dc4c3e6cb0ae9aee5a04dd61881c8b6a7e BUG: 981888 Signed-off-by: Tiziano Müller <tiziano.mueller@stepping-stone.ch> Reviewed-on: http://review.gluster.org/5448 Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Vijay Bellur <vbellur@redhat.com>
Diffstat (limited to 'api/src/Makefile.am')
-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