diff options
author | therzok <marius.ungureanu@xamarin.com> | 2019-05-20 12:25:33 +0300 |
---|---|---|
committer | therzok <marius.ungureanu@xamarin.com> | 2019-05-23 20:06:21 +0300 |
commit | e15b947bc57a85a063d558a9a0de09709f0c4367 (patch) | |
tree | ac81a3b8997a88c4daf548bdaaa7a4f9c8a4f646 /main/build/MacOSX/monostub.mm | |
parent | 7f29811a7e18dc097c946b41c24db9f11bf126a0 (diff) |
Move this back
Diffstat (limited to 'main/build/MacOSX/monostub.mm')
-rw-r--r-- | main/build/MacOSX/monostub.mm | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/main/build/MacOSX/monostub.mm b/main/build/MacOSX/monostub.mm index 07c71337d4..19ca538485 100644 --- a/main/build/MacOSX/monostub.mm +++ b/main/build/MacOSX/monostub.mm @@ -234,7 +234,6 @@ main (int argc, char **argv) { int new_argc; char **new_argv; - void *libmono; mono_main _mono_main; @autoreleasepool { @@ -292,7 +291,7 @@ main (int argc, char **argv) NSString *exeName = [NSString stringWithFormat:@"%@.exe", entryExecutableName]; NSString *exePath = [[appDir stringByAppendingPathComponent: binDir] stringByAppendingPathComponent: exeName]; - libmono = dlopen (MONO_LIB_PATH ("libmonosgen-2.0.dylib"), RTLD_LAZY); + void *libmono = dlopen (MONO_LIB_PATH ("libmonosgen-2.0.dylib"), RTLD_LAZY); if (libmono == NULL) { NSLog (@"Failed to load libmonosgen-2.0.dylib: %s", dlerror ()); |