Hi,
I am using openSUSE 11.0. I am trying to compile a software that requires, say, libxyz.a . But in /usr/lib, the same is installed as a shared library. So i downloaded the source code for 'xyz', compiled it and got the required libxyz.a . I installed it in /usr/local/xyz. Now in order to compile the original software, how do i instruct the c compiler gcc to access only the libxyz.a and not the corresponding shared library? I cannot uninstall the shared library as many applications depend on it.
Can i do it in this way via the Makefile:

CC=gcc /usr/local/xyz/libxyz.a

or, adding a line like this INC_LIB=/usr/local/xyz/libxyz.a and making the corresponding changes ?

Will these options override the shared libs in /usr/lib ?

Thanks!