[lxc-devel] Static bulding of LXC tools (was: Re: Duplicate definitions of `lxc_log_define`)

Ciprian Dorin, Craciun ciprian.craciun at gmail.com
Sun Jan 10 12:50:16 UTC 2010


    Ups... A minor install mistake, see correction:



>From 729975e830c60dad36217f9f3791de34114fa654 Mon Sep 17 00:00:00 2001
From: Ciprian Dorin, Craciun <ciprian at volution.ro>
Date: Sun, 10 Jan 2010 14:48:31 +0200
Subject: [PATCH] Fixed minor mistake.

---
 src/lxc/Makefile.am |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/lxc/Makefile.am b/src/lxc/Makefile.am
index 9a601f8..0ba1237 100644
--- a/src/lxc/Makefile.am
+++ b/src/lxc/Makefile.am
@@ -118,7 +118,7 @@ lxc_unfreeze_SOURCES = lxc_unfreeze.c
 lxc_unshare_SOURCES = lxc_unshare.c
 lxc_wait_SOURCES = lxc_wait.c

-if !STATIC_LINKING
+if !SHARED_LIBRARIES
 install-exec-local: install-soPROGRAMS
 	mv $(DESTDIR)$(libdir)/liblxc.so $(DESTDIR)$(libdir)/liblxc.so.$(VERSION)
 	/sbin/ldconfig -l $(DESTDIR)$(libdir)/liblxc.so.$(VERSION)
@@ -126,7 +126,7 @@ install-exec-local: install-soPROGRAMS
 	ln -sf liblxc.so.$(firstword $(subst ., ,$(VERSION))) liblxc.so
 endif

-if !STATIC_LINKING
+if !SHARED_LIBRARIES
 uninstall-local:
 	$(RM) $(DESTDIR)$(libdir)/liblxc.so*
 endif
-- 
1.6.3.1




More information about the lxc-devel mailing list