Nirgal
2011-08-27 05:47:18 UTC
Attached are 2 patches:
asneeded.diff add -as-need option to linker.
This prevents the libraries to try to load uneeded libraries.
Example warning before: libbonobo-activation.so.4 could be avoided if "/usr/bin/gmdb2" were not uselessly linked against it (they use none of its symbols).
odbclink.diff stops embeding libmdb and libmdbsql inside libmdbodbc
I have the feeling mdb and mdbsql libraries run time code should not be included in mdbodbc. mdbodbc should just call the existing functions in the correct libraries. This patch does that.
asneeded.diff add -as-need option to linker.
This prevents the libraries to try to load uneeded libraries.
Example warning before: libbonobo-activation.so.4 could be avoided if "/usr/bin/gmdb2" were not uselessly linked against it (they use none of its symbols).
odbclink.diff stops embeding libmdb and libmdbsql inside libmdbodbc
I have the feeling mdb and mdbsql libraries run time code should not be included in mdbodbc. mdbodbc should just call the existing functions in the correct libraries. This patch does that.