Stage native protoc directly
This commit is contained in:
@@ -17,9 +17,11 @@ define $(package)_build_cmds
|
|||||||
endef
|
endef
|
||||||
|
|
||||||
define $(package)_stage_cmds
|
define $(package)_stage_cmds
|
||||||
$(MAKE) -C src DESTDIR=$($(package)_staging_dir) install-strip
|
mkdir -p $($(package)_staging_prefix_dir)/bin && \
|
||||||
|
cp src/protoc $($(package)_staging_prefix_dir)/bin/protoc && \
|
||||||
|
$(build_STRIP) $($(package)_staging_prefix_dir)/bin/protoc
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define $(package)_postprocess_cmds
|
define $(package)_postprocess_cmds
|
||||||
rm -rf lib include
|
chmod +x bin/protoc
|
||||||
endef
|
endef
|
||||||
|
|||||||
Reference in New Issue
Block a user