MacOS Legacy: get rid of RTLD_NOLOAD

pull/775/head
Brad House 6 months ago
parent dc27e430b3
commit ea6a75c1a7
  1. 2
      src/lib/ares_sysconfig_mac.c

@ -105,7 +105,7 @@ static ares_status_t dnsinfo_init(dnsinfo_t **dnsinfo_out)
}
for (i=0; searchlibs[i] != NULL; i++) {
dnsinfo->handle = dlopen(searchlibs[i], RTLD_LAZY | RTLD_NOLOAD);
dnsinfo->handle = dlopen(searchlibs[i], RTLD_LAZY /* | RTLD_NOLOAD */);
if (dnsinfo->handle == NULL) {
/* Fail, loop */
continue;

Loading…
Cancel
Save