Add section for building swtpm on Mac.

pull/121/head
David Garske 2020-09-25 11:58:03 -07:00
parent e9b18637a6
commit 1ba2a8800e
1 changed files with 12 additions and 0 deletions

View File

@ -57,6 +57,18 @@ git clone git@github.com:stefanberger/swtpm.git
(cd swtpm && ./autogen.sh && make install)
```
Note: On Mac OS X had to do the following first:
```
brew install openssl socat
pip3 install cryptography
export LDFLAGS="-L/usr/local/opt/openssl@1.1/lib"
export CPPFLAGS="-I/usr/local/opt/openssl@1.1/include"
# libtpms had to use --prefix=/usr/local
```
Running swtpm
```