MacOS Legacy: get rid of RTLD_NOLOAD

v1.29
Brad House 6 months ago
parent 7403093eec
commit 87349d4c69
  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