bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: valgrind-tests.m4 is not compatible with libtool


From: Simon Josefsson
Subject: Re: valgrind-tests.m4 is not compatible with libtool
Date: Wed, 07 Sep 2011 13:22:09 +0200
User-agent: Gnus/5.110018 (No Gnus v0.18) Emacs/23.2 (gnu/linux)

Another solution is to put

AM_LDFLAGS = -no-install

in the Makefile.am of your self-test directory, so libtool will not
build wrappers for them.

I have not seen any negative effects of doing this, and it helps
significantly with issues like this (especially for running gdb).

Vincent, Bruno, if you can think of ways of making the situation better
even for projects that use libtool wrappers of self-tests, then let's do
that too -- I'm just mentioning that -no-install may be a solution.

`-no-install'
     Link an executable OUTPUT-FILE that can't be installed and
     therefore doesn't need a wrapper script on systems that allow
     hardcoding of library paths.  Useful if the program is only used
     in the build tree, e.g., for testing or generating other files.

/Simon



reply via email to

[Prev in Thread] Current Thread [Next in Thread]