diff options
-rw-r--r-- | recipes-containers/lxc/files/noldconfig.patch | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/recipes-containers/lxc/files/noldconfig.patch b/recipes-containers/lxc/files/noldconfig.patch deleted file mode 100644 index 5edff468..00000000 --- a/recipes-containers/lxc/files/noldconfig.patch +++ /dev/null | |||
@@ -1,29 +0,0 @@ | |||
1 | From a8aa8d131a7140d5625c24c9f4c28c605213552c Mon Sep 17 00:00:00 2001 | ||
2 | From: Andrey Mazo <ahippo@yandex.ru> | ||
3 | Date: Fri, 18 May 2012 21:11:22 +0400 | ||
4 | Subject: [PATCH] Avoid ldconfig due to cross-compilation problems. | ||
5 | |||
6 | Make required symlinks manually. | ||
7 | Otherwise, it cases problems on cbuild endianness != ctarget endianness | ||
8 | setups because /sbin/ldconfig expects elf header in the wrong endianness. | ||
9 | --- | ||
10 | src/lxc/Makefile.am | 2 +- | ||
11 | 1 files changed, 1 insertions(+), 1 deletions(-) | ||
12 | |||
13 | diff --git a/src/lxc/Makefile.am b/src/lxc/Makefile.am | ||
14 | index 1c26952..3b84c1a 100644 | ||
15 | --- a/src/lxc/Makefile.am | ||
16 | +++ b/src/lxc/Makefile.am | ||
17 | @@ -125,8 +125,8 @@ lxc_kill_SOURCES = lxc_kill.c | ||
18 | |||
19 | install-exec-local: install-soPROGRAMS | ||
20 | mv $(DESTDIR)$(libdir)/liblxc.so $(DESTDIR)$(libdir)/liblxc.so.$(VERSION) | ||
21 | - /sbin/ldconfig -l $(DESTDIR)$(libdir)/liblxc.so.$(VERSION) | ||
22 | cd $(DESTDIR)$(libdir); \ | ||
23 | + ln -sf liblxc.so.$(VERSION) liblxc.so.$(firstword $(subst ., ,$(VERSION))); \ | ||
24 | ln -sf liblxc.so.$(firstword $(subst ., ,$(VERSION))) liblxc.so | ||
25 | |||
26 | uninstall-local: | ||
27 | -- | ||
28 | 1.7.3.4 | ||
29 | |||