src/hotspot/os/aix/os_aix.cpp
changeset 52734 d537553ed639
parent 52581 d402a406bbc3
child 52892 442d322bb6d8
--- a/src/hotspot/os/aix/os_aix.cpp	Wed Nov 28 18:16:39 2018 -0800
+++ b/src/hotspot/os/aix/os_aix.cpp	Wed Nov 28 22:29:35 2018 -0500
@@ -541,7 +541,11 @@
 
 void os::init_system_properties_values() {
 
-#define DEFAULT_LIBPATH "/lib:/usr/lib"
+#ifndef OVERRIDE_LIBPATH
+  #define DEFAULT_LIBPATH "/lib:/usr/lib"
+#else
+  #define DEFAULT_LIBPATH OVERRIDE_LIBPATH
+#endif
 #define EXTENSIONS_DIR  "/lib/ext"
 
   // Buffer that fits several sprintfs.