From: Dima Pasechnik Subject: Re: lang/sbcl - building and installing libsbcl.so ? To: Sebastien Marie Cc: ports@openbsd.org Date: Thu, 25 Apr 2024 14:09:35 +0100 On Thu, Apr 25, 2024 at 02:11:32PM +0200, Sebastien Marie wrote: > Dima Pasechnik writes: > > sbcl can be packaged into a dynamic library, something one needs for > > e.g. calling Lisp from C or Python, > > via sbcl-librarian https://github.com/quil-lang/sbcl-librarian > > > > A question about your use-case: would a static library (libsbcl.a) be > enough for your purpose ? I don't know, I only tried .so. (in general people would prefer .so for things like building Python extensions, which is what I aim at). > > I am a bit reluctant to add a shared lib (with all the major/minor > management its implies) for something outside the port tree. not sure what you mean by "outside". I'm adding it to the "normal" place, /usr/local/lib/ > > The static-library is simple to add (with --with-sb-linkable-runtime > support). > > Else I will look to add it. I'm almost done with a proper patch for it, I hope to send it tonight. Best, Dima