]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - HMPID/AnalysisTrainHMPID.C
.so cleanup: no .so ext to GetLibraries()
[u/mrichter/AliRoot.git] / HMPID / AnalysisTrainHMPID.C
index f9319aedc8c5075d9624cc0630e542139a4ee23e..2beb40691aced963f1fe0bb2a32c0b91cfe8d507 100644 (file)
@@ -674,7 +674,7 @@ Bool_t LoadLibrary(const char *module, const char *mode, Bool_t rec=kFALSE)
       return kTRUE;
    } 
    // Check if the library is already loaded
-   if (strlen(gSystem->GetLibraries(Form("%s.so", module), "", kFALSE)) > 0)
+   if (strlen(gSystem->GetLibraries(module, "", kFALSE)) > 0)
       return kTRUE;    
    switch (imode) {
       case 0:
@@ -683,7 +683,7 @@ Bool_t LoadLibrary(const char *module, const char *mode, Bool_t rec=kFALSE)
             result = SetupPar(module);
             if (rec) anaPars += Form("%s.par ", module);
          } else {
-            result = gSystem->Load(Form("lib%s.so", module));
+            result = gSystem->Load(Form("lib%s", module));
             if (rec) anaLibs += Form("lib%s.so ", module);
          }   
          break;