[Mono-list] MKBundle and dllmaps
Robert Jordan
robertj at gmx.net
Wed Dec 18 12:47:28 UTC 2013
On 18.12.2013 13:10, James Nugent wrote:
> Hi All,
>
> I’m trying to build a package with mono statically linked - so far so good, I have an executable which works without mono being installed, but to achieve this I still need a dllmap for System.dll - currently that file looks like this:
>
> $ cat System.dll.config
> <?xml version="1.0"?>
> <configuration>
> <dllmap dll="libc" target="libc.so.6" os="!windows"/>
> </configuration>
>
>
> Is it possible to compile this in so that the file is unnecessary, accepting that the end result might not be portable across distributions or versions?
>
Yes. Use the --config option and pass in the system's default config
(it's usually $monoprefix/etc/mono/config).
Robert
More information about the Mono-list
mailing list