Merge #7788: Use relative paths instead of absolute paths in protoc calls

0087f26 Use relative paths instead of absolute paths (Pavel Janík)
This commit is contained in:
Wladimir J. van der Laan 2016-04-05 17:37:57 +02:00
commit 4dc1b3a296
No known key found for this signature in database
GPG key ID: 74810B012346C9A6

View file

@ -479,7 +479,7 @@ endif
%.pb.cc %.pb.h: %.proto
@test -f $(PROTOC)
$(AM_V_GEN) $(PROTOC) --cpp_out=$(@D) --proto_path=$(abspath $(<D) $<)
$(AM_V_GEN) $(PROTOC) --cpp_out=$(@D) --proto_path=$(<D) $<
if ENABLE_TESTS
include Makefile.test.include