aboutsummaryrefslogtreecommitdiff
path: root/contrib/depends/packages/native_protobuf.mk
diff options
context:
space:
mode:
authortobtoht <tob@featherwallet.org>2024-02-23 10:56:52 +0100
committertobtoht <tob@featherwallet.org>2024-02-23 10:58:11 +0100
commit5fdd67d738d448d69308bcbcb91f2a6c35565b24 (patch)
tree66816c69e27f398fef5a967844a1f2bcd57e3575 /contrib/depends/packages/native_protobuf.mk
parentbuild: force Trezor for depends builds (diff)
downloadmonero-5fdd67d738d448d69308bcbcb91f2a6c35565b24.tar.xz
depends: {native_,}protobuf: speedup build
Diffstat (limited to '')
-rw-r--r--contrib/depends/packages/native_protobuf.mk8
1 files changed, 4 insertions, 4 deletions
diff --git a/contrib/depends/packages/native_protobuf.mk b/contrib/depends/packages/native_protobuf.mk
index 2dc11b23c..8d7649b67 100644
--- a/contrib/depends/packages/native_protobuf.mk
+++ b/contrib/depends/packages/native_protobuf.mk
@@ -1,4 +1,4 @@
-package=protobuf3
+package=native_protobuf
$(package)_version=21.12
$(package)_version_protobuf_cpp=3.21.12
$(package)_download_path=https://github.com/protocolbuffers/protobuf/releases/download/v$($(package)_version)/
@@ -16,13 +16,13 @@ define $(package)_config_cmds
endef
define $(package)_build_cmds
- $(MAKE) -C src
+ $(MAKE) -C src protoc
endef
define $(package)_stage_cmds
- $(MAKE) DESTDIR=$($(package)_staging_dir) -C src install
+ $(MAKE) DESTDIR=$($(package)_staging_dir) -C src install-binPROGRAMS install-nobase_dist_protoDATA
endef
define $(package)_postprocess_cmds
- rm lib/libprotoc.a
+ rm -rf lib/
endef