[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: question/advice about njs and quickjs as a shared lib





Le ven. 29 août 2025 à 22:06, Bastien Roucaries <rouca@debian.org> a écrit :
Le vendredi 29 août 2025, 21:51:29 heure d’été d’Europe centrale Jérémy Lal a écrit :
> I made a shared library packaging of quickjs-ng,
> and now I'm trying to build njs using the shared library.
> It doesn't work - njs upstream expect quickjs to be statically linked,
> however I believe it could work.
>
> Anyone interested with that ?
me

First you can build this (and review, I probably got some things wrong)
https://salsa.debian.org/js-team/quickjs-ng

and then you can try to fix this (the current debian/patches/shared.patch doesn't work)
https://salsa.debian.org/nginx-team/libnginx-mod-js

About the "shared library": it's a C program, ABI should be okay, and we have tools to track API.
I've setup dh_acc on that project - but it might be something that is totally unnecessary - TBD !



Reply to: