From 7a9a378a4b725a159bda9b337f70b6db7cea13a9 Mon Sep 17 00:00:00 2001 From: Ichthyostega Date: Mon, 10 Aug 2015 04:44:33 +0200 Subject: [PATCH] workaround for bug in binutils > 2.23 (closes TICKET #965) --- admin/scons/LumieraEnvironment.py | 1 + 1 file changed, 1 insertion(+) 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