aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGreg Kurz <gkurz@fr.ibm.com>2011-09-13 15:08:04 +0200
committerDaniel Lezcano <dlezcano@fr.ibm.com>2011-09-13 15:08:04 +0200
commit1c41ddcb4af633ac906f1d7c9ef1dc7d121d7850 (patch)
tree4642a2aa8d5097032e1a0adc5aebc83a784b96bc /lxc.pc.in
parentremove the check for container path as it's done in lxc-create (diff)
downloadlxc-1c41ddcb4af633ac906f1d7c9ef1dc7d121d7850.tar.gz
lxc-1c41ddcb4af633ac906f1d7c9ef1dc7d121d7850.tar.bz2
lxc-1c41ddcb4af633ac906f1d7c9ef1dc7d121d7850.zip
fixes for rpmbuild
This patch fixes some makefile/specfile issues when running rpmbuild with the distributed lxc specfile: - fixes usage of installation directories for config files, rootfs, templates and lxc-init so that they're calculated at make time instead of configure time. Thanks to this, all installed items go under $RPM_BUILD_ROOT when running rpmbuild - introduce --disable-rpath option to configure to avoid check-rpaths errors when building non-root. - introduce a lxc-libs package in the default spec file to allow concurrent installation of 32 bit and 64 bit libraries. v2: - fix circular reference in lxc.pc - ship lxc.pc with lxc-devel Signed-off-by: Greg Kurz <gkurz@fr.ibm.com> Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com>
Diffstat (limited to 'lxc.pc.in')
-rw-r--r--lxc.pc.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/lxc.pc.in b/lxc.pc.in
index b99354b..ac5ce09 100644
--- a/lxc.pc.in
+++ b/lxc.pc.in
@@ -1,6 +1,6 @@
bindir=@BINDIR@
libdir=@LIBDIR@
-localstatedir=@LXCPATH@
+localstatedir=@LOCALSTATEDIR@
includedir=@INCLUDEDIR@
rootfsmountdir=@LXCROOTFSMOUNT@