* [PATCH] libxenlight: Disable unneeded C++ binding for libconfig
@ 2009-12-10 20:49 Andre Przywara
0 siblings, 0 replies; only message in thread
From: Andre Przywara @ 2009-12-10 20:49 UTC (permalink / raw)
To: Stefano Stabellini; +Cc: xen-devel@lists.xensource.com, Keir Fraser
[-- Attachment #1: Type: text/plain, Size: 693 bytes --]
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 <andre.przywara@amd.com>
--
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
[-- Attachment #2: libxl_nocxx.patch --]
[-- Type: text/plain, Size: 556 bytes --]
diff -r 8f304c003af4 tools/libxl/Makefile
--- a/tools/libxl/Makefile Wed Dec 09 10:59:31 2009 +0000
+++ b/tools/libxl/Makefile Thu Dec 10 16:46:34 2009 +0100
@@ -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
[-- Attachment #3: Type: text/plain, Size: 138 bytes --]
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2009-12-10 20:49 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-12-10 20:49 [PATCH] libxenlight: Disable unneeded C++ binding for libconfig Andre Przywara
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.