Normalize native protoc path handling

This commit is contained in:
root
2026-05-01 00:52:13 +00:00
parent 97544982c8
commit 918f4258c2
2 changed files with 19 additions and 1 deletions
+5
View File
@@ -114,6 +114,11 @@ ifneq ($(native_packages),)
echo " - $$p: $$f"; \
tar -xzf $$f -C "$(build_prefix)"; \
done
@if [[ " $(native_packages) " == *" native_protobuf "* ]] && [[ ! -x "$(build_prefix)/bin/protoc" ]]; then \
echo "ERROR: missing native protoc under $(build_prefix)/bin/protoc"; \
echo "Fix: make -C $(BASEDIR) HOST=$(HOST) NO_QT=$(NO_QT) native_protobuf"; \
exit 1; \
fi
endif
@echo "== Writing config.site: $(host_prefix)/share/config.site"
@mkdir -p "$(host_prefix)/share"