summaryrefslogtreecommitdiffstats
path: root/api
diff options
context:
space:
mode:
authorKaleb S. KEITHLEY <kkeithle@redhat.com>2018-01-25 10:39:19 -0500
committerNiels de Vos <ndevos@redhat.com>2018-01-26 10:55:26 +0000
commit3cad44e8a7a0c481f3d1311b18aa854e4b33a1fb (patch)
tree90cceaecf12edf7f2d7e268c9086ac4ada880a54 /api
parentae7d5d26ffe38b3be6b9a9bc1883075491c1c709 (diff)
build: use libtirpc by default, even if ipv6 is not the default
Another error snuck in with Change-Id I86f847dfd, or more accurately I think, with Change-Id: Ic47065e9c2... All libs, not just libgfrpc, need to be linked with libtirpc, especially on systems that still have xdr functions in (g)libc where you will get a mixture of calls to libtirpc functions and glibc functions, with catastrophic results. BUG: 1536186 Change-Id: I97dc39c7844f44c36fe210aa813480c219e1e415 Signed-off-by: Kaleb S. KEITHLEY <kkeithle@redhat.com>
Diffstat (limited to 'api')
-rw-r--r--api/src/Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/api/src/Makefile.am b/api/src/Makefile.am
index 625183c8dbc..3d25823925b 100644
--- a/api/src/Makefile.am
+++ b/api/src/Makefile.am
@@ -21,7 +21,7 @@ AM_CPPFLAGS = $(GF_CPPFLAGS) -I$(top_srcdir)/libglusterfs/src \
AM_CFLAGS = -Wall $(GF_CFLAGS)
-libgfapi_la_LDFLAGS = -version-info $(GFAPI_LT_VERSION) \
+libgfapi_la_LDFLAGS = -version-info $(GFAPI_LT_VERSION) $(GF_LDFLAGS) \
$(GFAPI_EXTRA_LDFLAGS) $(ACL_LIBS)
xlator_LTLIBRARIES = api.la