]> git.ipfire.org Git - thirdparty/lxc.git/commitdiff
Makefile.am: Add missing liblxc symlink
authorStéphane Graber <stgraber@ubuntu.com>
Mon, 7 Jan 2013 22:46:16 +0000 (17:46 -0500)
committerStéphane Graber <stgraber@ubuntu.com>
Wed, 9 Jan 2013 15:22:54 +0000 (10:22 -0500)
Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
Acked-by: Serge E. Hallyn <serge.hallyn@ubuntu.com>
src/lxc/Makefile.am

index afcc095a8b91e3ffba7381472b0afdf6db6bf4a9..693167aaa435eb2f9c83cdd5e742ff8d30d7cb73 100644 (file)
@@ -183,6 +183,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: