5 Mar
2011
5 Mar
'11
5:13 p.m.
2011/3/3 the Adib <theadib@...1439...>:
So the question is how to modify those files that gnu linker is checked and in case on gnu linker we put "-Wl" in front of those linkre oprtions?
Thanks for patience, Adib.
It's better to specifically check whether the compiler accepts -Wl,--export-dynamic or --export-dynamic. Just test compile and link with AC_TRY_LINK, and store the correct flag in EXPORT_DYNAMIC_FLAGS.
By the way, the option exports all symbols in the program, and has to be used with "reverse dependncies", e.g. when some shared library contains undefined symbols that need to be defined in the program itself, as part of its use conventions. Why is it necessary? Is it used by the DBus bindings?
Regards, Krzysztof