Implement default_vm_path() on netbsd
parent
f710d192f7
commit
3917a9472a
|
@ -1,6 +1,11 @@
|
|||
#include "master.h"
|
||||
|
||||
extern int main();
|
||||
|
||||
const char *vm_executable_path(void)
|
||||
{
|
||||
return NULL;
|
||||
static Dl_info info = {0};
|
||||
if (!info.dli_fname)
|
||||
dladdr(main, &info);
|
||||
return info.dli_fname;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue