Using -Wl,-rpath,. isn't sufficient for cross-linkers to locate the necessary libraries. So throw in -Wl,-rpath-link,. to make it work. Signed-off-by: Mike Frysinger <vapier@gentoo.org>