mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 14:11:36 +00:00
15 lines
529 B
Diff
15 lines
529 B
Diff
|
Get protobuf include path from environment
|
||
|
|
||
|
--- a/python/Makefile
|
||
|
+++ b/python/Makefile
|
||
|
@@ -5,7 +5,7 @@ all: ct/proto/client_pb2.py ct/proto/ct_pb2.py ct/proto/tls_options_pb2.py \
|
||
|
ct/proto/test_message_pb2.py ct/proto/certificate_pb2.py
|
||
|
|
||
|
ct/proto/%_pb2.py: ct/proto/%.proto
|
||
|
- $(PROTOC) $^ -I/usr/include/ -I/usr/local/include -I$(INSTALL_DIR)/include -I. --python_out=.
|
||
|
+ $(PROTOC) $^ $(protocFlags) -I. --python_out=.
|
||
|
|
||
|
ct/proto/ct_pb2.py: ../proto/ct.proto
|
||
|
$(PROTOC) --python_out=ct/proto -I../proto ../proto/ct.proto
|
||
|
|