Date: Sun, 16 Dec 2012 22:52:05 +0530 From: Manish Jain <bourne.identity@hotmail.com> To: freebsd-questions@freebsd.org Subject: Question on how do I tell make to choose between static and shared versions of a library Message-ID: <BLU0-SMTP1154DEA566E8A9677055BD5F6330@phx.gbl> In-Reply-To: <mailman.67.1355659202.33098.freebsd-questions@freebsd.org> References: <mailman.67.1355659202.33098.freebsd-questions@freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Hello All, This is not a question strictly on FreeBSD. But since freebsd-questions is a lot quicker with its dependable responses, I decided to post my question here. 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. Any help will be greatly appreciated. Thank you & -- Regards, Manish Jain bourne.identity@hotmail.com
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BLU0-SMTP1154DEA566E8A9677055BD5F6330>
