Re: [PATCH] perf: Fix library detection when building without libelf

2013-10-24 Thread Arnaldo Carvalho de Melo
Em Thu, Oct 24, 2013 at 04:36:47PM -0400, Patrick Palka escreveu: > On Thu, Oct 24, 2013 at 4:13 PM, Arnaldo Carvalho de Melo > > The feature detection was reworked and perhaps it is fixed there. > I can't reproduce the detection failure in your branch, and a quick inspection > shows that the new

Re: [PATCH] perf: Fix library detection when building without libelf

2013-10-24 Thread Patrick Palka
On Thu, Oct 24, 2013 at 4:13 PM, Arnaldo Carvalho de Melo wrote: > Em Wed, Oct 23, 2013 at 10:51:09PM -0400, Patrick Palka escreveu: >> When I attempt to build perf on a system with slang but without libelf, >> 'make' would wrongly complain that the slang library could not be found. >> >> It turns

Re: [PATCH] perf: Fix library detection when building without libelf

2013-10-24 Thread Arnaldo Carvalho de Melo
Em Wed, Oct 23, 2013 at 10:51:09PM -0400, Patrick Palka escreveu: > When I attempt to build perf on a system with slang but without libelf, > 'make' would wrongly complain that the slang library could not be found. > > It turns out that this was happening because we are not filtering -lelf > from

[PATCH] perf: Fix library detection when building without libelf

2013-10-23 Thread Patrick Palka
When I attempt to build perf on a system with slang but without libelf, 'make' would wrongly complain that the slang library could not be found. It turns out that this was happening because we are not filtering -lelf from EXTLIBS early enough. As a result, the library test for slang (ditto for gt