On Sun, 16 Dec 2012 22:52:05 +0530, Manish Jain wrote: > Under /lib I have both versions - shared (libxyz.so.1) as well as static > (libxyz.a) - of a library. How do I tell make to link to the static > version, not the shared one ? The next obvious question is how to do the > vice versa - tell make to link to the shared version, not the static one. > To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
This can be done by addressing the linker through $LDFLAGS. I think "man ld" will be helpful. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"