diff options
| author | David Lamparter <equinox@diac24.net> | 2019-09-17 16:32:26 +0200 |
|---|---|---|
| committer | David Lamparter <equinox@diac24.net> | 2019-09-17 16:35:12 +0200 |
| commit | 2d50cb8062d388191cb7a6803af991f9d46f4565 (patch) | |
| tree | 337c5624ed708b034dae412c377060a7100d7a61 /qpb | |
| parent | b6534e248a22fa738c16bfccfdca3bec9ce721ea (diff) | |
build: fix "make tags"
Anything we list in a xxx_SOURCES variable will be included for "make
tags", including filess marked as nodist_xxx_SOURCES. So if we don't
have Protobuf enabled, even though the entire library isn't built, "make
tags" will still try to process these files... which we can't
autogenerate because Protobuf is disabled. Same for gRPC.
Fixes: #3266
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'qpb')
| -rw-r--r-- | qpb/subdir.am | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/qpb/subdir.am b/qpb/subdir.am index 75a733f8fc..1864ba7369 100644 --- a/qpb/subdir.am +++ b/qpb/subdir.am @@ -10,9 +10,12 @@ qpb_libfrr_pb_la_SOURCES = \ qpb/qpb.c \ qpb/qpb_allocator.c \ # end + +if HAVE_PROTOBUF nodist_qpb_libfrr_pb_la_SOURCES = \ qpb/qpb.pb-c.c \ # end +endif noinst_HEADERS += \ qpb/linear_allocator.h \ |
