From d253f3a7f2142c5c6bdcb067abc9a65399caf681 Mon Sep 17 00:00:00 2001 From: "John W. O'Brien" Date: Sun, 15 Aug 2021 12:46:30 -0400 Subject: [PATCH] lib: Scan lib/resolver.c only when c-ares is installed Scan lib/resolver.c only when c-ares is installed Signed-off-by: John W. O'Brien (cherry picked from commit 433d9af2a6463d975cd746b1013f6cbe675fc2ab) --- lib/subdir.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/subdir.am b/lib/subdir.am index 75f3d91b95..05910349ee 100644 --- a/lib/subdir.am +++ b/lib/subdir.am @@ -144,7 +144,6 @@ vtysh_scan += \ lib/log_vty.c \ lib/nexthop_group.c \ lib/plist.c \ - lib/resolver.c \ lib/routemap.c \ lib/routemap_cli.c \ lib/spf_backoff.c \ @@ -333,6 +332,7 @@ lib_libfrrsnmp_la_SOURCES = \ if CARES lib_LTLIBRARIES += lib/libfrrcares.la pkginclude_HEADERS += lib/resolver.h +vtysh_scan += lib/resolver.c endif lib_libfrrcares_la_CFLAGS = $(AM_CFLAGS) $(CARES_CFLAGS) -- 2.39.5