debuggers.hg

changeset 20894:cd453b3d7b25

libxl: Fix libconfig install directory

Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Tested-by: Ian Campbell <ian.campbell@citrix.com>
author Keir Fraser <keir.fraser@citrix.com>
date Sat Jan 23 08:28:01 2010 +0000 (2010-01-23)
parents 15efdfc46593
children 23a2ae169779
files tools/libxl/Makefile
line diff
     1.1 --- a/tools/libxl/Makefile	Sat Jan 23 08:26:23 2010 +0000
     1.2 +++ b/tools/libxl/Makefile	Sat Jan 23 08:28:01 2010 +0000
     1.3 @@ -44,7 +44,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) --disable-cxx && $(MAKE)
     1.8 +	cd $(LIBCONFIG_SOURCE) && ./configure --prefix=$(PREFIX) --libdir=$(LIBDIR) --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
    1.12 @@ -60,7 +60,7 @@ install: all
    1.13  	ln -sf libxenlight.so.$(MAJOR) $(DESTDIR)$(LIBDIR)/libxenlight.so
    1.14  	$(INSTALL_DATA) libxenlight.a $(DESTDIR)$(LIBDIR)
    1.15  	$(INSTALL_DATA) libxl.h $(DESTDIR)$(INCLUDEDIR)
    1.16 -	cd $(LIBCONFIG_SOURCE) && DESTDIR= $(MAKE) install
    1.17 +	cd $(LIBCONFIG_SOURCE) && DESTDIR=$(DESTDIR) $(MAKE) install
    1.18  
    1.19  .PHONY: clean
    1.20  clean: