From: Daniel Lezcano Date: Sun, 3 Oct 2010 21:09:36 +0000 (+0200) Subject: add rootfs mount dir variable to pkg-config X-Git-Tag: lxc-0.7.3~12 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b57c2211ebd3a6035a46d357f5849fcc42b03f6c;p=thirdparty%2Flxc.git add rootfs mount dir variable to pkg-config In the case we use an image for rootfs, if we need to do extra mount from the host to the rootfs, we have to specify the place where the image is mounted. This value is configured by the user with the lxc.rootfs.mount otherwise defaulting to @LXCROOTFSMOUNT@. Let's export this variable to pkg-config, so the user can use it to build a correct path to the rootfs. Signed-off-by: Daniel Lezcano --- diff --git a/lxc.pc.in b/lxc.pc.in index cd513c015..b99354bde 100644 --- a/lxc.pc.in +++ b/lxc.pc.in @@ -2,6 +2,7 @@ bindir=@BINDIR@ libdir=@LIBDIR@ localstatedir=@LXCPATH@ includedir=@INCLUDEDIR@ +rootfsmountdir=@LXCROOTFSMOUNT@ Name: lxc Description: linux container tools