mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-08-13 17:38:59 +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:
@@ -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);
|
||||
}
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user