Skip to content

Commit

Permalink
rpath only need on posix
Browse files Browse the repository at this point in the history
  • Loading branch information
maureeungaro committed Feb 10, 2022
1 parent 96d4b53 commit 93f7194
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion SConstruct
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@ ROOTSYS = os.environ['ROOTSYS']

env = init_environment("qt5 clas12 clhep evio root geant4 xercesc mlibrary hipo")
env.Append(CXXFLAGS = ' -std=c++11 ')
env.Append(RPATH = ROOTSYS + '/lib')

if env['PLATFORM'] != 'darwin':
env.Append(RPATH = ROOTSYS + '/lib')

# library
lib_sources = Split("""src/banks.cc""")
Expand Down

0 comments on commit 93f7194

Please sign in to comment.