RPM Community Forums

Mailing List Message of <rpm-devel>

Re: RPM_CHECK_LIB: Adding .../lib64/... searches

From: Ralf S. Engelschall <rse+rpm-devel@rpm5.org>
Date: Wed 20 Aug 2008 - 08:56:52 CEST
Message-ID: <20080820065652.GA11337@engelschall.com>
On Tue, Aug 19, 2008, Jeff Johnson wrote:

> On Aug 19, 2008, at 1:37 PM, Jeff Johnson wrote:
>
>>>> $ CPPFLAGS="-I/path/to/foo/include" \
>>>>   LDFLAGS="-L/path/to/foo/lib64" \
>>>>   ./configure --with-foo=external
>>>>
>>>> This way the "libfoo.* should be happily picked up from
>>>> /path/to/foo/lib64, too.
>>
>> Let me whack at  this approach some. Thanks.
>
> This approach will mostly work.
>
> However, I will need to fix libtool within python/Makefile.am somewhat,
> there's an issue with libdir != -rpath path using libtool to install
> using
> current conventions for WITH_PYTHON_LIBDIR search and value passed.
>
> Which leads me to the discovery of
>    AM_PATH_PYTHON
> as used by rpm.org.
>
> Any objections to attempting AM_PATH_PYTHON on HEAD?

I've never used AM_PATH_PYTHON but if it is better than the historical
stuff we have in configure.ac, just use AM_PATH_PYTHON, of course.

                                       Ralf S. Engelschall
                                       rse@engelschall.com
                                       www.engelschall.com
Received on Wed Aug 20 09:00:10 2008
Driven by Jeff Johnson and the RPM project team.
Hosted by OpenPKG and Ralf S. Engelschall.
Powered by FreeBSD and OpenPKG.