aboutsummaryrefslogtreecommitdiff
blob: 146e89fdef2c531462539ab892da9f07225e836f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
commit eea9517c17bd86beda895a5a8b3ffe59af18596f
Author: Axel Naumann <Axel.Naumann@cern.ch>
Date:   Tue Jul 1 17:45:20 2014 +0200

    From Pere: go via TSystem to use prefix if defined (ROOT-6410).

diff --git a/core/meta/src/TCling.cxx b/core/meta/src/TCling.cxx
index baec571..4976d4e 100644
--- a/core/meta/src/TCling.cxx
+++ b/core/meta/src/TCling.cxx
@@ -4703,7 +4703,7 @@ void* TCling::LazyFunctionCreatorAutoload(const std::string& mangled_name) {
    TString lib;
    Ssiz_t posLib = 0;
    while (libs.Tokenize(lib, posLib)) {
-      if (Load(lib, kFALSE /*system*/) < 0) {
+      if (gSystem->Load(lib, "", kFALSE /*system*/) < 0) {
          // The library load failed, all done.
          //fprintf(stderr, "load failed: %s\n", errmsg.c_str());
          return 0;