From: Dmitry Volyntsev Date: Thu, 7 Nov 2024 23:26:39 +0000 (-0800) Subject: Added missing steps for building with QuickJS to README. X-Git-Tag: 0.8.8~8 X-Git-Url: http://www.kaiwu.me/postgresql/commit/static/gitweb.js?a=commitdiff_plain;h=72f0b5db8595bca740ffbfd2f9213e577718a174;p=njs.git Added missing steps for building with QuickJS to README. --- 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]