On Sun, Feb 12, 2023 at 08:39:22AM +0100, Sebastian Humenda wrote: > Hi > > Karl Dahlke schrieb am 11.02.2023, 5:32 -0500: > >If quickjs were packaged, we would need to change the makefile, as it > >currently assumes it has been built statically in parallel. In other words, > >we would simply link to it as we do with curl and readline etc. We might need > > Debian installs it to /usr/lib/quickjs/libquickjs.a, if that helps. Maybe you > were assuming that anyway.
As long as we can find it via pkg-config we can just look for it, perhaps using a flag of some sort to switch between that and providing a path to a local build? That'd mean we didn't need to know where it'd be installed if we were building using the system (read packaged) Quickjs whilst keeping the ability to use a local version.