[Mono-dev] Mono.Cairo on OSX

Robert Jordan robertj at gmx.net
Tue Aug 4 04:19:00 EDT 2009

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:

    <dllmap dll="libcairo-2.dll" target="libcairo.2.dylib" os="osx"/>


More information about the Mono-devel-list mailing list