summaryrefslogtreecommitdiffstats
path: root/api/src/Makefile.am
diff options
context:
space:
mode:
authorAnand Avati <avati@redhat.com>2013-05-03 05:44:17 -0700
committerVijay Bellur <vbellur@redhat.com>2013-05-30 23:44:28 -0700
commit83e4a149bd69d13fdd6fd4c80e603e04d15ff8e3 (patch)
tree25c69a50481811a2d1f25b70a5003df1b2b67450 /api/src/Makefile.am
parent0f214cdb0e784266440deceff4770b383bab1daf (diff)
api: Fix api.so and libgfapi.so build time dependency
Not all versions of autoconf handle dependencies expressed as "A: B". Use the xxx_DEPENDENCIES variable to make it version independent Change-Id: Ia0b13399d0bf10995d9845e04cd9eb3ef6518dbe BUG: 953694 Signed-off-by: Anand Avati <avati@redhat.com> Reviewed-on: http://review.gluster.org/5118 Reviewed-by: Raghavendra Talur <rtalur@redhat.com> Tested-by: Gluster Build System <jenkins@build.gluster.com>
Diffstat (limited to 'api/src/Makefile.am')
-rw-r--r--api/src/Makefile.am3
1 files changed, 1 insertions, 2 deletions
diff --git a/api/src/Makefile.am b/api/src/Makefile.am
index 087523823d3..8980c021c89 100644
--- a/api/src/Makefile.am
+++ b/api/src/Makefile.am
@@ -14,13 +14,12 @@ libgfapi_la_CPPFLAGS = $(GF_CPPFLAGS) -D__USE_FILE_OFFSET64 \
-I$(top_srcdir)/rpc/rpc-lib/src \
-I$(top_srcdir)/rpc/xdr/src
-api.la: libgfapi.la
xlator_LTLIBRARIES = api.la
xlatordir = $(libdir)/glusterfs/$(PACKAGE_VERSION)/xlator/mount
api_la_SOURCES = glfs-master.c
-
+api_la_DEPENDENCIES = libgfapi.la
api_la_LDFLAGS = -module -avoid-version
api_la_LIBADD = $(top_builddir)/libglusterfs/src/libglusterfs.la \
$(top_builddir)/rpc/rpc-lib/src/libgfrpc.la \