[njs] Added missing steps for building with QuickJS to README.
noreply at nginx.com
noreply at nginx.com
Thu Nov 7 23:53:01 UTC 2024
details: https://github.com/nginx/njs/commit/72f0b5db8595bca740ffbfd2f9213e577718a174
branches: master
commit: 72f0b5db8595bca740ffbfd2f9213e577718a174
user: Dmitry Volyntsev <xeioex at nginx.com>
date: Thu, 7 Nov 2024 15:26:39 -0800
description:
Added missing steps for building with QuickJS to README.
---
README.md | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/README.md b/README.md
index 855d9c0b..10ef0ba7 100644
--- a/README.md
+++ b/README.md
@@ -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]
More information about the nginx-devel
mailing list