Skip to content

Commit

Permalink
Make MarlinPKG also check lib64 to append to MARLIN_DLL
Browse files Browse the repository at this point in the history
  • Loading branch information
tmadlener committed Feb 20, 2023
1 parent 7840b09 commit 0ccf090
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions ilcsoft/marlinpkg.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@
# Date: Jan, 2007
#
##################################################


import os

# custom imports
from .baseilc import BaseILC
from .util import *
Expand Down Expand Up @@ -60,6 +62,8 @@ def postCheckDeps(self):

# fill MARLIN_DLL
if( self.name != "MarlinUtil" and self.name != "PandoraPFANew" ):
self.parent.module('Marlin').envpath["MARLIN_DLL"].append(
self.installPath+"/lib/lib"+self.name+self.shlib_ext )

for libdir in ("/lib/", "/lib64/"):
libname = self.installPath + libdir + "lib" + self.name + self.shlib_ext
if os.path.exists(libname):
self.parent.module('Marlin').envpath["MARLIN_DLL"].append(libname)
break

0 comments on commit 0ccf090

Please sign in to comment.