debuggers.hg

changeset 20668:f61303bcc3ac

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@amd.com>
author Keir Fraser <keir.fraser@citrix.com>
date Fri Dec 11 09:00:40 2009 +0000 (2009-12-11)
parents f9392f6eda79
children 63ff27b3b07a
files tools/libxl/Makefile
line diff
     1.1 --- a/tools/libxl/Makefile	Fri Dec 11 08:59:54 2009 +0000
     1.2 +++ b/tools/libxl/Makefile	Fri Dec 11 09:00:40 2009 +0000
     1.3 @@ -48,7 +48,7 @@ libxenlight.a: $(LIBXL_OBJS)
     1.4  
     1.5  $(LIBCONFIG_OUTPUT)/libconfig.so: $(LIBCONFIG_SOURCE).tar.gz
     1.6  	[ ! -d "$(LIBCONFIG_SOURCE)" ] && tar xzf $<
     1.7 -	cd $(LIBCONFIG_SOURCE) && ./configure --prefix=$(DESTDIR)$(PREFIX) && $(MAKE)
     1.8 +	cd $(LIBCONFIG_SOURCE) && ./configure --prefix=$(DESTDIR)$(PREFIX) --disable-cxx && $(MAKE)
     1.9  
    1.10  xl.o: $(LIBCONFIG_OUTPUT)/libconfig.so xl.c
    1.11  	$(CC) $(CFLAGS) -I$(LIBCONFIG_SOURCE) -c xl.c