[cairo] Linking to Cairo 1.0.2 statically (Win32)

Adam Strzelecki ono at java.pl
Wed Oct 12 08:51:32 PDT 2005


Hello Cairo Community,

> Now, what happens then with Cairo 1.0.2 on Win32 platforms, where all
> the required mutexes are initialized only from the DllMain() function,
> which will never be called in case of statical linking?
> 
> I know that most of you are against the idea of having a global library
> initialization and uninitialization function pair, but I think that this
> is again a problem which shows that they are required.
> 
> What you people think about it?
Have a look at the bug I've entered week ago:
http://bugs.freedesktop.org/show_bug.cgi?id=4692

It's about that. There's a patch / proposed function for static linking. 
Moreover one win32 mutex is uninitialized in win32 build... which makes 
in some situations access violations.

Regards,
-- 
Adam Strzelecki |: nanoant.com :|


More information about the cairo mailing list