Skip to content

Commit

Permalink
Added missing steps for building with QuickJS to README.
Browse files Browse the repository at this point in the history
  • Loading branch information
xeioex committed Nov 7, 2024
1 parent e476ef9 commit 72f0b5d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -258,10 +258,12 @@ sudo apt install gcc make
sudo apt install libpcre3-dev zlib1g-dev libssl-dev libxml2-dev libxslt-dev
```

For building with [QuickJS](https://nginx.org/en/docs/njs/engine.html), you will also need to clone the QuickJS repository:
For building with [QuickJS](https://nginx.org/en/docs/njs/engine.html), you will also need to build the QuickJS library:

```bash
git clone https://github.com/bellard/quickjs
cd quickjs
CFLAGS='-fPIC' make libquickjs.a
```

> [!WARNING]
Expand Down

0 comments on commit 72f0b5d

Please sign in to comment.