Welcome! Log In Create A New Profile

Advanced

[njs] Added missing steps for building with QuickJS to README.

Anonymous User
November 07, 2024 06:54PM
details: https://github.com/nginx/njs/commit/72f0b5db8595bca740ffbfd2f9213e577718a174
branches: master
commit: 72f0b5db8595bca740ffbfd2f9213e577718a174
user: Dmitry Volyntsev <xeioex@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]
_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
https://mailman.nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

[njs] Added missing steps for building with QuickJS to README.

Anonymous User 207 November 07, 2024 06:54PM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 205
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready