Update ab.

This commit is contained in:
David Given
2024-10-09 22:36:42 +02:00
parent 4c2fa27717
commit 259c5d67e6
4 changed files with 84 additions and 53 deletions

View File

@@ -7,12 +7,13 @@ import build.pkg # to get the protobuf package check
emit(
"""
PROTOC ?= protoc
ifeq ($(filter protobuf, $(PACKAGES)),)
$(error Required package 'protobuf' not installed.)"
endif
"""
)
assert build.pkg.TargetPkgConfig.has_package(
"protobuf"
), "required package 'protobuf' not installed"
def _getprotodeps(deps):
r = set()