converting Windows libraries (does librsvg work?)

Matúš Kukan matus.kukan at gmail.com
Sat Nov 3 06:59:54 PDT 2012


On 31 October 2012 11:50, Matúš Kukan <matus.kukan at gmail.com> wrote:
> Hi,
>
> When building external libraries with gbuild, we need to export symbols somehow.
> Linux - gb_Library_set_visibility_default avoids -fvisibility=hidden
> -> all symbols are visible
> OS X - maybe it does not know hidden symbols ?
> Windows - you need to use DEF:name-of-.def-file.
> example: neon/Library_neon.mk
> The .def file is somehow generated with dmake,
> so when converting, just adjust it; git add; and add to makefile.
>
> It's nice that librsvg has been converted, but does it also work ? (I
> can't test it)
> For example in 'about' dialog you should see nice background, but
> without librsvg nothing (I've tested this on Linux)
> (btw: the code is in vcl/source/components/rasterizer_rsvg.cxx )

Well, I've realized we use only few symbols, so it's easy to add them
to makefile.
Should be fixed with
<http://cgit.freedesktop.org/libreoffice/core/commit/?id=56e40f3c602f7c85f61e5a196e3d820935b0c139>

Best,
Matus


More information about the LibreOffice mailing list