Fix rpath for asagi

parent 0c229f02
...@@ -4,6 +4,7 @@ ...@@ -4,6 +4,7 @@
# This file is part of SWE. # This file is part of SWE.
# #
# @author Alexander Breuer (breuera AT in.tum.de, http://www5.in.tum.de/wiki/index.php/Dipl.-Math._Alexander_Breuer) # @author Alexander Breuer (breuera AT in.tum.de, http://www5.in.tum.de/wiki/index.php/Dipl.-Math._Alexander_Breuer)
# @author Sebastian Rettenberger (rettenbs AT in.tum.de, http://www5.in.tum.de/wiki/index.php/Sebastian_Rettenberger,_M.Sc.)
# #
# @section LICENSE # @section LICENSE
# #
...@@ -236,8 +237,10 @@ if env['asagi'] == True: ...@@ -236,8 +237,10 @@ if env['asagi'] == True:
if 'asagiDir' in env: if 'asagiDir' in env:
env.Append(CPPPATH=[env['asagiDir']+'/include']) env.Append(CPPPATH=[env['asagiDir']+'/include'])
env.Append(LIBPATH=[env['asagiDir']+'/lib']) env.Append(LIBPATH=[env['asagiDir']+'/lib'])
env.Append(RPATH=[os.path.join(env['asagiDir'], 'lib')])
if 'netCDFDir' in env: if 'netCDFDir' in env:
env.Append(LIBPATH=[env['netCDFDir']+'/lib']) env.Append(LIBPATH=[env['netCDFDir']+'/lib'])
env.Append(RPATH=[os.path.join(env['netCDFDir'], 'lib')])
# xml runtime parameters # xml runtime parameters
if env['xmlRuntime'] == True: #TODO if env['xmlRuntime'] == True: #TODO
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment