Fixex for #90303: Port to the Release --> Fix PROOF-INF/SETUP.C to create PAR files...
[u/mrichter/AliRoot.git] / CORRFW / PROOF-INF.CORRFW / SETUP.C
index c2138c0..327991d 100644 (file)
@@ -8,4 +8,8 @@ void SETUP()
 
    // Set our location, so that other packages can find us
    gSystem->Setenv("CORRFW_INCLUDE", "CORRFW");
+
+   // Set our lib coordinates, so that other packages can link to us
+   TString lib = TString::Format("-L%s -lCORRFW", gSystem->WorkingDirectory());
+   gSystem->Setenv("CORRFW_LIBS", lib.Data());
 }