[PATCH libevdev] build: set aux-dir

Gaetan Nadon memsize at videotron.ca
Tue Nov 5 00:18:03 CET 2013


On 13-11-04 04:49 PM, Peter Hutterer wrote:
> libevdev uses the source twice, once for the library and then again for the
> tests. I did this instead of using the .la file because when a test fails it
> is a matter of minutes to run it in gdb and figure out the exact cause. with
> the .la file I have to run gdb through libtool, which doesn't like
> re-compilations, etc. if you can figure out a way to statically compile the
> sources in through a .a file and avoid the whole libtool mess I'd be quite

I don't see that as a problem. It's done in synaptics as well. Maybe
there is a confusion in terms, I was on the lookout  for per-target
cflags where the same code is built twice in the same directory and has
a prefix for the object code.

Unfortunate, but I can't reproduce the problem David is having. In any
case the module really needs AC_CONFIG_SRCDIR. Make distcheck may get
confused as it does not know where the src is. Building from an
out-of-source tree makes it easier to debug than building with distcheck.


More information about the Input-tools mailing list