example of link flags needed for Linux, NetBSD