OK, I can see that it should really be -rpath-link but this seems to make no difference either.
The particular beast that I'm trying to build at the moment is pingus-0.6.0 !
I have libogg, libvorbis, libmikmod, libHermes, libclan* all compiled static and am trying to link pingus but it doesn't seem to find the static librararies for libmikmod, libogg etc, when it links libclanMikMod etc.
Does -rpath-link only work with shared libs ?
Any tricks that anyone can reccomend ?, I don't really want to use shared ClanLib because it's out of date with current versions of MikMod, it's an old version required to work with pingus and its pretty huge !.
Any ideas folks ?