mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 23:04:50 +02:00
8214332: Add a flag for overriding default JNI library search path
Reviewed-by: erikj, dholmes
This commit is contained in:
parent
9aff87efc9
commit
b2bf2d252b
8 changed files with 58 additions and 5 deletions
|
@ -316,7 +316,11 @@ void os::init_system_properties_values() {
|
|||
// ...
|
||||
// 7: The default directories, normally /lib and /usr/lib.
|
||||
#ifndef DEFAULT_LIBPATH
|
||||
#define DEFAULT_LIBPATH "/lib:/usr/lib"
|
||||
#ifndef OVERRIDE_LIBPATH
|
||||
#define DEFAULT_LIBPATH "/lib:/usr/lib"
|
||||
#else
|
||||
#define DEFAULT_LIBPATH OVERRIDE_LIBPATH
|
||||
#endif
|
||||
#endif
|
||||
|
||||
// Base path of extensions installed on the system.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue