diff options
author | Lluis Sanchez <llsan@microsoft.com> | 2018-04-20 20:58:15 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-04-20 20:58:15 +0300 |
commit | 287ec4f764085ddaaa537e089e83e99a7d0ffa37 (patch) | |
tree | 76a6ad964e6d5171d984b842d9fcfbf096a18af3 | |
parent | c7faddbf3c2c569ef9b692ad30ddbbbb6aab6a08 (diff) | |
parent | 7673e1429217c2d88b948dbcce047fc6e20f096a (diff) |
Merge pull request #4644 from mono/d15-7-enable-static-registrar
Revert "[build] Make the static registrar opt-in, not opt-out"
-rw-r--r-- | main/build/MacOSX/monostub.mm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/main/build/MacOSX/monostub.mm b/main/build/MacOSX/monostub.mm index 6ef742c963..0f9e80e399 100644 --- a/main/build/MacOSX/monostub.mm +++ b/main/build/MacOSX/monostub.mm @@ -409,8 +409,8 @@ int main (int argc, char **argv) } #if STATIC_REGISTRAR - char *registrar_toggle = getenv("MD_ENABLE_STATIC_REGISTRAR"); - if (registrar_toggle) { + char *registrar_toggle = getenv("MD_DISABLE_STATIC_REGISTRAR"); + if (!registrar_toggle) { libvsmregistrar = dlopen ("@loader_path/libvsmregistrar.dylib", RTLD_LAZY); if (!libvsmregistrar) { libvsmregistrar = dlopen ("@loader_path/../Resources/lib/monodevelop/bin/libvsmregistrar.dylib", RTLD_LAZY); |