mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-03-13 12:40:17 +00:00
FS-9082: [mod_java] coreectly reference the modules dir so mod_java can load what it needs when modules are not placed in prefix/mod directory
This commit is contained in:
parent
312df1fbed
commit
fbc4c6e325
@ -259,7 +259,7 @@ static switch_status_t load_config(JavaVMOption **javaOptions, int *optionCount,
|
||||
}
|
||||
++i;
|
||||
}
|
||||
(*javaOptions)[i].optionString = "-Djava.library.path=" SWITCH_PREFIX_DIR SWITCH_PATH_SEPARATOR "mod";
|
||||
(*javaOptions)[i].optionString = switch_core_sprintf(memoryPool, "-Djava.library.path=%s", SWITCH_GLOBAL_dirs.mod_dir);
|
||||
}
|
||||
|
||||
/*
|
||||
|
Loading…
x
Reference in New Issue
Block a user