Skip to content

Commit

Permalink
Update protobuf.mk
Browse files Browse the repository at this point in the history
  • Loading branch information
justinvforvendetta authored Jan 30, 2025
1 parent efe025d commit e84794e
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions depends/packages/protobuf.mk
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,13 @@ $(package)_download_path=$(native_$(package)_download_path)
$(package)_file_name=$(native_$(package)_file_name)
$(package)_sha256_hash=$(native_$(package)_sha256_hash)
$(package)_dependencies=native_$(package)
$(package)_cxxflags=-std=c++17
$(package)_cxxflags=-std=c++11

define $(package)_set_vars
$(package)_config_opts=--disable-shared --with-protoc=$(build_prefix)/bin/protoc
$(package)_config_opts_linux=--with-pic
endef

define $(package)_preprocess_cmds
cp -f $(BASEDIR)/config.guess $(BASEDIR)/config.sub . &&\
cp -f $(BASEDIR)/config.guess $(BASEDIR)/config.sub gtest/build-aux
endef

define $(package)_config_cmds
$($(package)_autoconf)
endef
Expand All @@ -31,4 +26,4 @@ endef

define $(package)_postprocess_cmds
rm lib/libprotoc.a
endef
endef

0 comments on commit e84794e

Please sign in to comment.