I'm trying to compile an object with pd-lib-builder that uses the gnu gsl library on the code. I would like to compile this object in a way that the gsl library stays statically linked so it could run on other computers without the need to install the gsl. How can I do this using pd-lib-builder? Thanks!
Hi,
https://www.gnu.org/software/gsl/doc/html/usage.html#shared-libraries
you can define for all OSs in the main makefile:
ldlibs += -static -lgsl
or for an specific OS (also in the main makefile)
define forWindows ldlibs += -static -lgsl endef
untested.
Lucarda.
Mensaje telepatico asistido por maquinas.
On 08/08/2023 22:22, Vinicius Cesar wrote:
I'm trying to compile an object with pd-lib-builder that uses the gnu gsl library on the code. I would like to compile this object in a way that the gsl library stays statically linked so it could run on other computers without the need to install the gsl. How can I do this using pd-lib-builder? Thanks!