Skip to content

Commit

Permalink
MarlinDLL: debug prints
Browse files Browse the repository at this point in the history
  • Loading branch information
andresailer authored and tmadlener committed Dec 21, 2023
1 parent aca082d commit 283018e
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions ilcsoft/marlinpkg.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,10 @@ def postCheckDeps(self):
if( self.name != "MarlinUtil" and self.name != "PandoraPFANew" ):
for libdir in ("/lib/", "/lib64/"):
libname = self.installPath + libdir + "lib" + self.name + self.shlib_ext
print("MarlinDLL: looking for ", libname)
if os.path.exists(libname):
print("MarlinDLL: Found ", libname)
self.parent.module('Marlin').envpath["MARLIN_DLL"].append(libname)
break
else:
print( "ERROR: Marlin library not added to Marlin_DLL: ", libname )
else:
print("Error: did not find any library for the MarlinDLL", self.name)

0 comments on commit 283018e

Please sign in to comment.