fix {DYLD,LD}_LIBRARY_PATH for starter with embedded dll-dir

closes #2450
This commit is contained in:
Ryan Culpepper 2019-01-17 04:54:49 +01:00
parent 725af574fd
commit 218ed485e1

View File

@ -490,7 +490,7 @@ int main(int argc, char **argv)
dll_path = "";
}
dll_path = string_append(dll_path, ":");
dll_path = string_append(lib_path, dll_path);
dll_path = string_append(dll_path, lib_path);
dll_path = string_append(LD_LIB_PATH "=", dll_path);
putenv(dll_path);
}