~eda-qa/leaflang/misc

« back to all changes in this revision

Viewing changes to src/SConscript

  • Committer: edA-qa on mac
  • Date: 2017-08-06 19:55:46 UTC
  • Revision ID: eda-qa_on_mac-20170806195546-kxwxnixwvi0uocex
trying to get OSX to wrok

Show diffs side-by-side

added added

removed removed

Lines of Context:
24
24
for lib in [ 'boost_regex', lib_llvm, 'libgmp', 'libgmpxx', 'boost_filesystem', 'boost_system' ]:
25
25
        if not conf.CheckLib( lib ):
26
26
                Exit(1)
 
27
 
 
28
# this messes up the CheckLib on OSX
 
29
env['RPATH'] = Literal('\\$$ORIGIN')
 
30
if env['IS_POSIX']:
 
31
        env.Append(LINKFLAGS=['-z','origin'])
27
32
                
28
33
env = conf.Finish()
29
34
#env['SHLIBVERSION'] = '0.0.1'