Re: Fix to makefile for VPATH builds

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

 



On Thu, Mar 23, 2006 at 10:16:17PM +0000, Daniel P. Berrange wrote:
> The src/Makefile.am file use the incorrect variable for subsitution when
> setting up the INCLUDE variable. The result is that when attempting to
> do a VPATH build the directory ../../src/include is passed to the compiler
> instead of the desired ../../include directory. The result is that the
> virterror.h file will not be in the compiler's include path. Attaching a
> patch which fixes the Makefile variable setup
[...]
> -INCLUDES = -I$(top_builddir)/include -I@srcdir@/include @LIBXML_CFLAGS@
> +INCLUDES = -I$(top_builddir)/include -I$(top_srcdir)/include @LIBXML_CFLAGS@

  C.f. previous mail, fixed by using -I$@top_srcdir@/include instead.

Daniel

-- 
Daniel Veillard      | Red Hat http://redhat.com/
veillard@xxxxxxxxxx  | libxml GNOME XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/


[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]