Branch: Tag:

1997-03-04

1997-03-04 22:07:18 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Now works on FreeBSD. Probably should have a configure-test though.

Rev: src/dynamic_load.c:1.11

71: Inside #if defined(HAVE_DLOPEN)
     #ifdef HAVE_DLOPEN    init=(modfun)dlsym(module, "pike_module_init"); +  if (!init) { +  init=(modfun)dlsym(module, "_pike_module_init"); +  }    exit=(modfun)dlsym(module, "pike_module_exit"); -  +  if (!exit) { +  exit=(modfun)dlsym(module, "_pike_module_exit"); +  }      #elif defined(USE_DLD)    init = (modfun)dld_get_func("pike_module_init");