[lxc-devel] [PATCH 24/24] Makefile.am: Add missing liblxc symlink

Stéphane Graber stgraber at ubuntu.com
Tue Jan 8 17:03:14 UTC 2013


Signed-off-by: Stéphane Graber <stgraber at ubuntu.com>
---
 src/lxc/Makefile.am | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/lxc/Makefile.am b/src/lxc/Makefile.am
index 8bc7b4b..85d8e77 100644
--- a/src/lxc/Makefile.am
+++ b/src/lxc/Makefile.am
@@ -173,6 +173,7 @@ install-exec-local: install-soPROGRAMS
 	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
 
 uninstall-local:
-- 
1.8.0





More information about the lxc-devel mailing list