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

[Xen-changelog] [xen-unstable] libxenlight: Disable unneeded C++ binding for libconfig



# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1260522040 0
# Node ID f61303bcc3ac6fbf67b9f92183fecc4b6f26d324
# Parent  f9392f6eda79a0714f75769bcb668d58e77bd36a
libxenlight: Disable unneeded C++ binding for libconfig

If we want to avoid that a C++ compiler becomes a requirement for a
Xen build, we should disable the (unneeded) C++ library generation for
the embedded libconfig.

Signed-off-by: Andre Przywara <andre.przywara@xxxxxxx>
---
 tools/libxl/Makefile |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -r f9392f6eda79 -r f61303bcc3ac tools/libxl/Makefile
--- a/tools/libxl/Makefile      Fri Dec 11 08:59:54 2009 +0000
+++ b/tools/libxl/Makefile      Fri Dec 11 09:00:40 2009 +0000
@@ -48,7 +48,7 @@ libxenlight.a: $(LIBXL_OBJS)
 
 $(LIBCONFIG_OUTPUT)/libconfig.so: $(LIBCONFIG_SOURCE).tar.gz
        [ ! -d "$(LIBCONFIG_SOURCE)" ] && tar xzf $<
-       cd $(LIBCONFIG_SOURCE) && ./configure --prefix=$(DESTDIR)$(PREFIX) && 
$(MAKE)
+       cd $(LIBCONFIG_SOURCE) && ./configure --prefix=$(DESTDIR)$(PREFIX) 
--disable-cxx && $(MAKE)
 
 xl.o: $(LIBCONFIG_OUTPUT)/libconfig.so xl.c
        $(CC) $(CFLAGS) -I$(LIBCONFIG_SOURCE) -c xl.c

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.