diff options
Diffstat (limited to 'src/driver')
-rw-r--r-- | src/driver/main.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/driver/main.cc b/src/driver/main.cc index 96b4a007..e5943aa5 100644 --- a/src/driver/main.cc +++ b/src/driver/main.cc @@ -88,7 +88,11 @@ namespace OpenAxiom { const char* ldd_path = option_value(command, "--syslib"); if (ldd_path == 0) ldd_path = oa_concatenate_string(sysdir, "/lib"); +#ifdef OPENAXIOM_MS_WINDOWS_HOST + augment_variable("PATH", ldd_path); +#else augment_variable("LD_LIBRARY_PATH", ldd_path); +#endif publish_systemdir(sysdir); } |