]> git.ipfire.org Git - thirdparty/lxc.git/commitdiff
Avoid ldconfig due to cross-compilation problems.
authorAndrey Mazo <ahippo@yandex.ru>
Fri, 18 May 2012 17:11:22 +0000 (21:11 +0400)
committerStéphane Graber <stgraber@ubuntu.com>
Wed, 2 Oct 2013 16:28:33 +0000 (12:28 -0400)
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 <ahippo@yandex.ru>
Acked-by: Stéphane Graber <stgraber@ubuntu.com>
src/lxc/Makefile.am

index 873b97d0443ae7e3d71dc605976ed0c8f6865c72..8baf1698d63598fed6f502b296481c07c2f9c436 100644 (file)
@@ -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