[cairo] Libtool missing a flag

Gerdus van Zyl gerdusvanzyl at gmail.com
Sun Apr 12 04:53:04 PDT 2009


Just to clarify it works when linking to a shared pixman; When it
fails it gives a bunch of the following:
.libs/cairo-image-surface.o:cairo-image-surface.c:(.text+0x6a8):
undefined reference to `pixman_image_set_transform'

>>Or am I missing something because it seems that your log shows
>> libcairo-2.dll being created. Note that the dll will be in src/.libs
It does not create a dll in src/.libs only the libcairo.dll.a

On Sun, Apr 12, 2009 at 1:35 PM, Gerdus van Zyl <gerdusvanzyl at gmail.com> wrote:
> Ok, I compile pixman to only output a static lib since that's what I
> want: a cairo dll with pixman staticly linked as in no dependency on
> libpixman-1-0.dll. So how do I achieve that?
>
> On Sun, Apr 12, 2009 at 6:48 AM, Dave Yeo <daveryeo at telus.net> wrote:
>> Do you have a pixman-1.dll? Libtool is very conservative about creating DLLs
>> unless all libraries are also DLLs. If one is static or libtool thinks one
>> is static then you get the warning and end up with only a static lib.
>> Or am I missing something because it seems that your log shows
>> libcairo-2.dll being created. Note that the dll will be in src/.libs
>> Dave
>>
>


More information about the cairo mailing list