Commit 96950ed0 by dlezcano

From: Daniel Lezcano <dlezcano@fr.ibm.com>

To allow user to properly configure the location of lxcpath (/var/lxc), it should be build based on variable 'localstatedir' instead of 'prefix'. By default, localstatedir=$prefix/var localstatedir can be set by the user during configure: ./configure --localstatedir=/var Signed-off-by: 's avatarDaniel Lezcano <dlezcano@fr.ibm.com>
parent 57545890
lxcpath=$(prefix)/var/lxc
INCLUDES= -I$(top_srcdir)/src -DLXCPATH="\"$(lxcpath)\""
INCLUDES= -I$(top_srcdir)/src -DLXCPATH="\"$(localstatedir)/lxc\""
lib_LTLIBRARIES = liblxc.la
pkginclude_HEADERS = \
monitor.h \
......@@ -127,4 +126,4 @@ install-exec-local:
echo "* and you will need to run them as 'root' yourself. *" && \
echo "* *" && \
echo "*****************************************************************" && \
echo && echo)
\ No newline at end of file
echo && echo)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment