Whamcloud - gitweb
EX-5235 lipe: Fix lipe-server build
authorNathaniel Clark <nclark@whamcloud.com>
Mon, 9 May 2022 18:17:58 +0000 (14:17 -0400)
committerAndreas Dilger <adilger@whamcloud.com>
Tue, 10 May 2022 06:31:12 +0000 (06:31 +0000)
To compile against liblustreapi, we now also need json-c.

Signed-off-by: Nathaniel Clark <nclark@whamcloud.com>
Change-Id: I5e5323c556d1d3bdd4fd6d7f9bc59e33baf59310
Reviewed-on: https://review.whamcloud.com/47263
Reviewed-by: John L. Hammond <jhammond@whamcloud.com>
Tested-by: jenkins <devops@whamcloud.com>
Reviewed-by: Feng, Lei <flei@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
lipe/configure.ac

index 239d2ba..378c614 100644 (file)
@@ -117,7 +117,7 @@ AC_DEFINE([HAVE_LAYOUT_BY_XATTR], 1,
 # -------- check for llapi_changelog_in_buf() --------
 AC_MSG_CHECKING([Lustre have llapi_changelog_in_buf()])
 saved_libs=$LIBS
-LIBS="-llustreapi -llnetconfig"
+LIBS="-llustreapi -llnetconfig -ljson-c"
 AC_LINK_IFELSE([AC_LANG_SOURCE([
        #include <lustre/lustreapi.h>