[Mono-dev] Mono.Cairo on OSX

Christian Hergert chris at dronelabs.com
Tue Aug 4 04:26:16 EDT 2009


Oh thats handy.  Anyone have objections to committing this?

-- Christian

On Aug 4, 2009, at 1:19 AM, Robert Jordan wrote:

> Hi Christian,
>
> Christian Hergert wrote:
>> It looks like Mono.Cairo is trying to load libcairo.so.2 on OS X.
>> Creating the following Mono.Cairo.dll.config works for me.
>>
>> <configuration>
>>   <dllmap dll="libcairo-2.dll" target="libcairo.2.dylib"/>
>> </configuration>
>>
>> However, I'm not sure how to go around making a proper patch as you
>> folks would like it.  The reason I ask is because I don't see any
>> other dll's in mcs/class/ that have dllmaps based on platform (and
>> maybe this will require a configure.in change).
>>
>> So if you provide me a little direction, I'll go ahead and submit a
>> patch.
>
> No configure magic is required if the "os" attribute
> is applied:
>
> <configuration>
>    <dllmap dll="libcairo-2.dll" target="libcairo.2.dylib" os="osx"/>
> </configuration>
>
> Robert
>
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list



More information about the Mono-devel-list mailing list