Skip to content

Commit fbe3b51

Browse files
committed
Add build infos
1 parent eeebaa1 commit fbe3b51

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

README.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,4 +36,16 @@ export PKCS11_PROXY_CERT=$(pwd)/client.crt
3636
# Example usage on client
3737
p11tool --provider=$(pwd)/pkcs11-proxy-module.so --generate-random=256
3838
p11tool --provider=$(pwd)/pkcs11-proxy-module.so --list-mechanisms
39+
```
40+
41+
## Build
42+
```bash
43+
sudo apt-get update && sudo apt-get install gcc-multilib curl unzip gcc gcc-mingw-w64 -y
44+
mkdir -p $HOME/protobuf && pushd $HOME/protobuf
45+
curl -o protoc.zip -L 'https://github.com/protocolbuffers/protobuf/releases/download/v27.0/protoc-27.0-linux-x86_64.zip'
46+
unzip protoc.zip
47+
popd
48+
export PATH=$HOME/.local/bin:$HOME/protobuf/bin:$PATH
49+
make dev-dependencies
50+
make
3951
```

0 commit comments

Comments
 (0)