[Mono-dev] Patch for winforms (packaging issue)

Andreas Färber andreas.faerber at web.de
Sat Dec 6 04:57:37 EST 2008


Hi,

Am 05.12.2008 um 21:02 schrieb Paul:

> D'oh - typo!
>
> --- mono-2.2/data/config.in	2008-11-30 19:34:24.000000000 +0000
> +++ mono-2.2/data/config-new.in	2008-12-02 23:57:51.000000000 +0000
> @@ -15,6 +15,7 @@
> 	<dllmap dll="i:msvcrt.dll" target="@LIBC@" os="!windows"/>
> 	<dllmap dll="sqlite" target="@SQLITE@" os="!windows"/>
> 	<dllmap dll="sqlite3" target="@SQLITE3@" os="!windows"/>
> +	<dllmap dll="gdiplus.dll" target="libgdiplus.so.0" os="!windows"/>
> 	<dllmap dll="libX11" target="@X11@" os="!windows" />
> 	<dllmap dll="libcairo-2.dll" target="libcairo.so.2" os="!windows"/>
> 	<dllmap dll="i:kernel32.dll">

That does not seem like a good idea. If at all, it should be  
os="linux" if there is such a value.

You have no guarantee that other non-Windows platforms actually have  
libgdiplus.so.0. Mac OS X surely does not for one (.dylib), neither  
would AIX, (.a) and depending on libtool settings, other platforms  
might have a different versioning scheme (BeOS comes to mind there -  
just .so iirc).

Andreas



More information about the Mono-devel-list mailing list