mds: change libmon to .la archive 21367/head
authorKefu Chai <kchai@redhat.com>
Thu, 12 Apr 2018 03:58:15 +0000 (11:58 +0800)
committerKefu Chai <kchai@redhat.com>
Fri, 25 May 2018 14:48:17 +0000 (22:48 +0800)
commitd3e0db474c2ab5f6ec8c6d91d72d56cd399a90d2
treebffb5d6a65c21c70910dde2dd15202a55055e154
parent0d681467f6e0490ee656fd66ec4aa29b5ef2dd96
mds: change libmon to .la archive

before this change, it is a plain .a archive. because MDSAuthCaps.cc is
included by both libmon.a and libmds.la, automake complains that

src/Makefile.am: error: object 'mds/MDSAuthCaps.$(OBJEXT)' created both
with libtool and without

so we need to consolidate them. as most of the convenience libraries are
are created using libtool. to be more consistent, i am chaning libmon.a
to libmon.la.

Signed-off-by: Kefu Chai <kchai@redhat.com>
Conflicts:
   src/Makefile-env.am
   src/mds/Makefile-server.am: this change is not cherry-picked from
master. as we switched from autotools to cmake since luminous.
src/Makefile-env.am
src/mon/Makefile.am