From: Keir Fraser Date: Fri, 11 Dec 2009 09:00:40 +0000 (+0000) Subject: libxenlight: Disable unneeded C++ binding for libconfig X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~12920 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=0404e068491cfa5780a146aac96d452075425689;p=xen.git 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 --- diff --git a/tools/libxl/Makefile b/tools/libxl/Makefile index e0e257d050..4d86cf7866 100644 --- a/tools/libxl/Makefile +++ b/tools/libxl/Makefile @@ -48,7 +48,7 @@ $(LIBCONFIG_SOURCE).tar.gz: $(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