diff options
author | Theo Buehler <tb@openbsd.org> | 2024-06-20 20:38:51 +0200 |
---|---|---|
committer | Theo Buehler <tb@openbsd.org> | 2024-06-20 20:38:51 +0200 |
commit | 4269c45fc4254426a06cb2a50b81e5ed1d8589c4 (patch) | |
tree | 6476edff8c332dcefc19139d5d6a27476ee71f41 | |
parent | 7f2c181d0174e9d7a1e138fa5238dc546d6ab721 (diff) | |
parent | c231e3bc82370637c0bd17300b7c6fc66bd0b2fd (diff) | |
download | portable-4269c45fc4254426a06cb2a50b81e5ed1d8589c4.tar.gz portable-4269c45fc4254426a06cb2a50b81e5ed1d8589c4.tar.bz2 portable-4269c45fc4254426a06cb2a50b81e5ed1d8589c4.zip |
Merge #1067 - Emscripten configuration note
-rw-r--r-- | README.md | 13 |
1 files changed, 13 insertions, 0 deletions
@@ -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 | ||
48 | LibreSSL also supports the following Windows environments: | 49 | LibreSSL also supports the following Windows environments: |
49 | 50 | ||
@@ -158,6 +159,18 @@ LibreSSL builds against relatively recent versions of [MinGW-w64](https://www.mi | |||
158 | confused with the original mingw.org project. MinGW-w64 3.2 or later | 159 | confused with the original mingw.org project. MinGW-w64 3.2 or later |
159 | should work. See [README.mingw.md](README.mingw.md) for more information. | 160 | should work. See [README.mingw.md](README.mingw.md) for more information. |
160 | 161 | ||
162 | ### Emscripten | ||
163 | |||
164 | When configuring LibreSSL for use with Emscripten, make sure to prepend | ||
165 | `emcmake` to your `cmake` configuration command. Once configured, you can | ||
166 | proceed with your usual `cmake` commands. For example: | ||
167 | |||
168 | ```sh | ||
169 | emcmake cmake . -Bbuild | ||
170 | cmake --build build --config Release | ||
171 | ctest --test-dir build -C Release --output-on-failure | ||
172 | ``` | ||
173 | |||
161 | # Using LibreSSL | 174 | # Using LibreSSL |
162 | 175 | ||
163 | ## CMake | 176 | ## CMake |