diff options
author | David Lamparter <equinox@opensourcerouting.org> | 2021-04-21 11:12:53 +0200 |
---|---|---|
committer | David Lamparter <equinox@opensourcerouting.org> | 2021-04-21 11:13:25 +0200 |
commit | 9219708b1392769bb760eb96aefa39aefa03b282 (patch) | |
tree | 10c9fca8eec7fe1b827f141582affafd565b43bb /qpb | |
parent | Merge pull request #8516 from patrasar/pim_register_suppress_time_crash (diff) | |
download | frr-9219708b1392769bb760eb96aefa39aefa03b282.tar.xz frr-9219708b1392769bb760eb96aefa39aefa03b282.zip |
build: fix protobuf out-of-tree build
Otherwise it aborts with "File does not reside within any path specified
using --proto_path (or -I)"
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'qpb')
-rw-r--r-- | qpb/subdir.am | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/qpb/subdir.am b/qpb/subdir.am index 80f8f3aca..4f826355d 100644 --- a/qpb/subdir.am +++ b/qpb/subdir.am @@ -35,7 +35,7 @@ if HAVE_PROTOBUF # Rules .proto.pb.h: - $(PROTOC) -I$(top_srcdir) --cpp_out=$(top_srcdir) $(top_srcdir)/$^ + $(PROTOC) -I$(top_srcdir) --cpp_out=$(top_builddir) $^ AM_V_PROTOC_C = $(am__v_PROTOC_C_$(V)) am__v_PROTOC_C_ = $(am__v_PROTOC_C_$(AM_DEFAULT_VERBOSITY)) @@ -43,7 +43,7 @@ am__v_PROTOC_C_0 = @echo " PROTOC_C" $@; am__v_PROTOC_C_1 = .proto.pb-c.c: - $(AM_V_PROTOC_C)$(PROTOC_C) -I$(top_srcdir) --c_out=$(top_srcdir) $(top_srcdir)/$^ + $(AM_V_PROTOC_C)$(PROTOC_C) -I$(top_srcdir) --c_out=$(top_builddir) $^ .pb-c.c.pb-c.h: @/bin/true |