From 99fca7fd2d8aec59ce26fb2100813ee21295b49c Mon Sep 17 00:00:00 2001 From: Dmitry Volyntsev Date: Thu, 7 Nov 2024 15:26:39 -0800 Subject: [PATCH] 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 855d9c0b7..10ef0ba74 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]