]> git.proxmox.com Git - mirror_frr.git/commitdiff
lib: Scan lib/resolver.c only when c-ares is installed
authorJohn W. O'Brien <john@saltant.com>
Sun, 15 Aug 2021 16:46:30 +0000 (12:46 -0400)
committerJohn W. O'Brien <john@saltant.com>
Sun, 15 Aug 2021 16:54:37 +0000 (12:54 -0400)
Scan lib/resolver.c only when c-ares is installed

Signed-off-by: John W. O'Brien <john@saltant.com>
lib/subdir.am

index 714af43238594ee0617c48934e2e358265d924c0..dab5fb9e8391337e6f9e89bed050b015f91de99b 100644 (file)
@@ -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 \
@@ -335,6 +334,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)