summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2019-02-19 13:05:17 -0500
committerGitHub <noreply@github.com>2019-02-19 13:05:17 -0500
commit8faeb50fe40976313a309a0e1870e29bebd99fd6 (patch)
tree6d97681dbba21a79865160bff705d15ac3581fcf
parentccb50d4e9f412a96083c1139225cebc470781759 (diff)
parent0619d86e5cb16b75e15005613d03c5d0106088dc (diff)
Merge pull request #3823 from opensourcerouting/confd-build-fix
build: fix linking to libconfd
-rwxr-xr-xconfigure.ac2
1 files changed, 2 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 936e1ccda6..488a1380b2 100755
--- a/configure.ac
+++ b/configure.ac
@@ -1659,6 +1659,8 @@ if test "$enable_confd" != "" -a "$enable_confd" != "no"; then
fi
CONFD_CFLAGS="-I${enable_confd}/include -L${enable_confd}/lib"
AC_SUBST([CONFD_CFLAGS])
+ CONFD_LIBS="-lconfd"
+ AC_SUBST([CONFD_LIBS])
AC_DEFINE([HAVE_CONFD], [1], [Enable confd integration])
fi
AM_CONDITIONAL([CONFD], [test "x$enable_confd" != "x"])