Fix to makefile for VPATH builds

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

 



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

Dan.
-- 
|=- Red Hat, Engineering, Emerging Technologies, Boston.  +1 978 392 2496 -=|
|=-           Perl modules: http://search.cpan.org/~danberr/              -=|
|=-               Projects: http://freshmeat.net/~danielpb/               -=|
|=-  GnuPG: 7D3B9505   F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505  -=| 
# HG changeset patch
# User "Daniel P. Berrange <berrange@xxxxxxxxxx>"
# Node ID 6a2b3295866428631f2259207f5f5a3da9bfb7f5
# Parent  8e08d0c68fd5be70c2975ef2ee2605bcb86aa5c3
Fixed vpath builds

diff -r 8e08d0c68fd5 -r 6a2b32958664 src/Makefile.am
--- a/src/Makefile.am	Wed Mar 15 12:13:25 2006 +0000
+++ b/src/Makefile.am	Thu Mar 23 16:53:26 2006 -0500
@@ -1,6 +1,6 @@
 ## Process this file with automake to produce Makefile.in
 
-INCLUDES = -I$(top_builddir)/include -I@srcdir@/include @LIBXML_CFLAGS@
+INCLUDES = -I$(top_builddir)/include -I$(top_srcdir)/include @LIBXML_CFLAGS@
 DEPS = libvirt.la
 LDADDS = @STATIC_BINARIES@ libvirt.la
 VIRSH_LIBS = @VIRSH_LIBS@

[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]