diff options
author | Keir Fraser <keir.fraser@citrix.com> | 2009-12-11 09:00:40 +0000 |
---|---|---|
committer | Keir Fraser <keir.fraser@citrix.com> | 2009-12-11 09:00:40 +0000 |
commit | 0404e068491cfa5780a146aac96d452075425689 (patch) | |
tree | 1934726ae1ef64721b33d3432ab34c99d22844c6 | |
parent | b501c6cfa8a14a5440a776defd323174f19f3c61 (diff) | |
download | xen-0404e068491cfa5780a146aac96d452075425689.tar.gz xen-0404e068491cfa5780a146aac96d452075425689.tar.bz2 xen-0404e068491cfa5780a146aac96d452075425689.zip |
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>
-rw-r--r-- | tools/libxl/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
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 |