aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo Buehler <tb@openbsd.org>2024-06-20 20:38:51 +0200
committerTheo Buehler <tb@openbsd.org>2024-06-20 20:38:51 +0200
commit4269c45fc4254426a06cb2a50b81e5ed1d8589c4 (patch)
tree6476edff8c332dcefc19139d5d6a27476ee71f41
parent7f2c181d0174e9d7a1e138fa5238dc546d6ab721 (diff)
parentc231e3bc82370637c0bd17300b7c6fc66bd0b2fd (diff)
downloadportable-4269c45fc4254426a06cb2a50b81e5ed1d8589c4.tar.gz
portable-4269c45fc4254426a06cb2a50b81e5ed1d8589c4.tar.bz2
portable-4269c45fc4254426a06cb2a50b81e5ed1d8589c4.zip
Merge #1067 - Emscripten configuration note
-rw-r--r--README.md13
1 files changed, 13 insertions, 0 deletions
diff --git a/README.md b/README.md
index b4fff87..598188c 100644
--- a/README.md
+++ b/README.md
@@ -44,6 +44,7 @@ At the time of this writing, LibreSSL is known to build and work on:
44* Solaris 11 and later 44* Solaris 11 and later
45* Mac OS X (tested with 10.8 and later) 45* Mac OS X (tested with 10.8 and later)
46* AIX (5.3 and later) 46* AIX (5.3 and later)
47* Emscripten (3.1.44 and later)
47 48
48LibreSSL also supports the following Windows environments: 49LibreSSL also supports the following Windows environments:
49 50
@@ -158,6 +159,18 @@ LibreSSL builds against relatively recent versions of [MinGW-w64](https://www.mi
158confused with the original mingw.org project. MinGW-w64 3.2 or later 159confused with the original mingw.org project. MinGW-w64 3.2 or later
159should work. See [README.mingw.md](README.mingw.md) for more information. 160should work. See [README.mingw.md](README.mingw.md) for more information.
160 161
162### Emscripten
163
164When configuring LibreSSL for use with Emscripten, make sure to prepend
165`emcmake` to your `cmake` configuration command. Once configured, you can
166proceed with your usual `cmake` commands. For example:
167
168```sh
169emcmake cmake . -Bbuild
170cmake --build build --config Release
171ctest --test-dir build -C Release --output-on-failure
172```
173
161# Using LibreSSL 174# Using LibreSSL
162 175
163## CMake 176## CMake