<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote gmail_quote_container"><div dir="ltr" class="gmail_attr">Le ven. 29 août 2025 à 22:06, Bastien Roucaries <<a href="mailto:rouca@debian.org">rouca@debian.org</a>> a écrit :<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Le vendredi 29 août 2025, 21:51:29 heure d’été d’Europe centrale Jérémy Lal a écrit :<br>
> I made a shared library packaging of quickjs-ng,<br>
> and now I'm trying to build njs using the shared library.<br>
> It doesn't work - njs upstream expect quickjs to be statically linked,<br>
> however I believe it could work.<br>
> <br>
> Anyone interested with that ?<br>
me<br></blockquote><div><br></div><div>First you can build this (and review, I probably got some things wrong)</div><div><a href="https://salsa.debian.org/js-team/quickjs-ng">https://salsa.debian.org/js-team/quickjs-ng</a></div><div><br></div><div>and then you can try to fix this (the current debian/patches/shared.patch doesn't work)</div><div><a href="https://salsa.debian.org/nginx-team/libnginx-mod-js">https://salsa.debian.org/nginx-team/libnginx-mod-js</a></div><div><br></div><div>About the "shared library": it's a C program, ABI should be okay, and we have tools to track API.</div><div>I've setup dh_acc on that project - but it might be something that is totally unnecessary - TBD !</div><div><br></div><div><br></div></div></div>