Comment 12 for bug 319048

Revision history for this message
Jan (jan-ellenbeck) wrote :

Finally, I can give a one-line bugfix for this. I just need to add this -disable-new-dtags option in the SConscript file in framework/application:
coreEnv.Append(LINKFLAGS = '-Wl,-disable-new-dtags')

Would you test this with your environment and include a patch to the mainline in case it works on every platform?

Cheers
Jan

Fix:
=== modified file 'SConscript'
--- SConscript 2008-10-30 22:18:33 +0000
+++ SConscript 2009-03-02 16:14:36 +0000
@@ -14,6 +14,9 @@
 if coreEnv['static']:
     LIBS += coreEnv['libraries']
     coreEnv.Append(LINKFLAGS = '-Wl,--whole-archive')
+
+coreEnv.Append(LINKFLAGS = '-Wl,-disable-new-dtags')
+
 LIBS = list(set(LIBS))
 prog = coreEnv.Program('openwns', files, LIBS = LIBS)
 coreEnv.Append(RPATH = os.path.join(env.installDir, 'lib'))