How to build with librsvg builtin loader
I maintain bindings for the R programming language. On MacOS and Windows, R packages need to be statically linked to the entire stack of dependencies, we can not load dynamic modules at runtime.
For this reason we build gdk-pixbuf with -Dbuiltin_loaders=all
and also disable modules, so the resulting libgdk_pixbuf-2.0.a
statically links to libpng, libtiff, libjpeg, and does not try to load dll's at runtime.
This works, but we would also like to support the rsvg loader from librsvg. When building librsvg with --enable-static --disable-shared --enable-pixbuf-loader=yes
, so it generates the libpixbufloader-svg.a
. Is there some way to enable this library as a built-in loader when building gdk-pixbuf statically?