libxenlight: Disable unneeded C++ binding for libconfig
PATCH 1/1 libxenlight: Disable unneeded C++ binding for libconfig
Hi,
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. Attached patch disables this via a configure option.
Regards,
Andre.
Signed-off-by Andre Przywara <[email protected]>
Signature · 9 lines
Andre Przywara AMD-Operating System Research Center (OSRC), Dresden, Germany Tel: +49 351 488-3567-12 ----to satisfy European Law for business letters: Advanced Micro Devices GmbH Karl-Hammerschmidt-Str. 34, 85609 Dornach b. Muenchen Geschaeftsfuehrer: Andrew Bowd; Thomas M. McCoy; Giuliano Meroni Sitz: Dornach, Gemeinde Aschheim, Landkreis Muenchen Registergericht Muenchen, HRB Nr. 43632
tools/libxl/Makefile +1 -1
@@ -48,7 +48,7 @@ $(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-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel