Commit 598af617 authored by Rob Latham's avatar Rob Latham
Browse files

advertize needed libraries for group routines

parent e0ae7ebc
ACLOCAL_AMFLAGS="-Im4"
SERVER_LIBS=@SERVER_LIBS@
CLIENT_LiBS=@CLIENT_LIBS@
bin_PROGRAMS = test/bench-client \
test/test-client \
......@@ -77,7 +78,7 @@ test_test_mpi_LDFLAGS = -Llib -lkvclient -lkvserver ${SERVER_LIBS}
test_test_mpi_group_SOURCES = test/test-mpi-group.cc
test_test_mpi_group_CPPFLAGS = ${CPPFLAGS} -I${srcdir}/src
test_test_mpi_group_DEPENDENCIES = lib/libkvgroupserver.la lib/libkvgroupclient.la lib/libkvserver.la lib/libkvclient.la
test_test_mpi_group_LDFLAGS = -Llib -lkvgroupserver -lkvgroupclient -lkvclient -lkvserver ${SERVER_LIBS}
test_test_mpi_group_LDFLAGS = -Llib -lkvgroupserver -lkvgroupclient -lkvclient -lkvserver ${SERVER_LIBS} ${GROUP_LIBS}
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = maint/kv-server.pc \
......
......@@ -54,6 +54,7 @@ PKG_CHECK_MODULES([CHPLACEMENT], [ch-placement], [],
AC_MSG_ERROR([Could not find ch-placement]) )
CFLAGS="$CHPLACEMENT_CFLAGS $CFLAGS"
SERVER_LIBS="$CHPLAEMENT_LIBS $SERVER_LIBS"
GROUP_LIBS="$CHPLACEMENT_LIBS $CLIENT_LIBS"
# todo: proper configure checks for boost
SERVER_LIBS="$SERVER_LIBS -lboost_filesystem -lboost_system"
......@@ -120,6 +121,7 @@ AM_CONDITIONAL([BUILD_BWTREE], [test "x${bwtree_backend}" == xyes])
AC_SUBST(SERVER_LIBS)
AC_SUBST(GROUP_LIBS)
AC_CONFIG_FILES([Makefile maint/kv-client.pc maint/kv-server.pc])
AC_OUTPUT
prefix=@prefix@
exec_prefix=@exec_prefix@
libdir=@libdir@
includedir=@includedir@
Name: kv-group
Description: services-based keyval, group logic
Version: 0.1
URL: https://xgitlab.cels.anl.gov/sds/sds-keyval
Requires: margo
Libs: -L${libdir} @GROUP_LIBS@
Cflags: -I${includedir}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment