Andreas Färber wrote:
>> Until the runtime gets fixed (I'll provide a patch), the
>> workaround is to define and initialize "environ" from
>> within the dll that links libmono.
>
> Unfortunately I cannot confirm this.
>
>> Do *not* link with
>> '-undefined dynamic_lookup' any more:
>>
>> #include <mono/jit/jit.h>
>> #include <crt_externs.h>
>>
>> char **environ = NULL;
>>
>> void foo ()
>> {
>> environ = *_NSGetEnviron ();
>> mono_jit_init ("FooDomain");
>> }
>
> Using official Mono 1.1.18, removing the -undefined dynamic_lookup (I
> did ask about it in my original message!) does not lead to any change:
Please provide some kind of self-containing test case.
Robert
_______________________________________________
Mono-list maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-list