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
_______________________________________________
Mono-list maillist - Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list