diff --git a/admin/scons/LumieraEnvironment.py b/admin/scons/LumieraEnvironment.py index c004225d0..e59edddd0 100644 --- a/admin/scons/LumieraEnvironment.py +++ b/admin/scons/LumieraEnvironment.py @@ -270,6 +270,7 @@ class LumieraExeBuilder(WrappedStandardExeBuilder): """ custEnv = lumiEnv.Clone() custEnv.Append( LINKFLAGS = "-Wl,-rpath=\\$$ORIGIN/modules,--enable-new-dtags" ) + custEnv.Append( LINKFLAGS = "-Wl,-rpath-link=target/modules" ) ### Workaround for bug in binutils > 2.23 /////TICKET #965 if 'addLibs' in kw: custEnv.Append(LIBS = kw['addLibs']) return custEnv