Raul Dias chaos@swi.com.br writes:
configure is called with rpm location macros as:
./configure --prefix=%{_prefix} --libdir=%{_libdir} and so on
that is expanded to:
./configure --prefix=/usr --libdir=/usr/lib ....
In turn this variables won't rely on ${prefix} in Makefile.
But %{_libdir} should expand to ${prefix}/lib, not /usr/lib. Otherwise you can't change prefix and have it do anything useful. Is this something you can fix, or are the _libdir etc. macros hardcoded?