From 01660cccb99433ecb970c534d2c0077a7fe84299 Mon Sep 17 00:00:00 2001 From: Andrey Mazo Date: Fri, 18 May 2012 21:11:22 +0400 Subject: [PATCH] Avoid ldconfig due to cross-compilation problems. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Otherwise, it cases problems on cbuild endianness != ctarget endianness setups because /sbin/ldconfig expects elf header in the wrong endianness. Signed-off-by: Andrey Mazo Acked-by: Stéphane Graber --- src/lxc/Makefile.am | 1 - 1 file changed, 1 deletion(-) diff --git a/src/lxc/Makefile.am b/src/lxc/Makefile.am index 873b97d04..8baf1698d 100644 --- a/src/lxc/Makefile.am +++ b/src/lxc/Makefile.am @@ -234,7 +234,6 @@ install-exec-local: install-soPROGRAMS mkdir -p $(DESTDIR)$(datadir)/lxc install -c -m 644 lxc.functions $(DESTDIR)$(datadir)/lxc mv $(DESTDIR)$(libdir)/liblxc.so $(DESTDIR)$(libdir)/liblxc.so.$(VERSION) - /sbin/ldconfig -l $(DESTDIR)$(libdir)/liblxc.so.$(VERSION) cd $(DESTDIR)$(libdir); \ ln -sf liblxc.so.$(VERSION) liblxc.so.$(firstword $(subst ., ,$(VERSION))); \ ln -sf liblxc.so.$(firstword $(subst ., ,$(VERSION))) liblxc.so