From 758243d8af0406e63cc5446c65d415298fa3cef2 Mon Sep 17 00:00:00 2001 From: Sergio Schvezov Date: Tue, 26 Jul 2016 09:41:47 +0200 Subject: [PATCH] Add a prefix to the lxc.pc This allows installing to different locations and using the lxc.pc to build using the generated includedir and libdir. Signed-off-by: Sergio Schvezov --- lxc.pc.in | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lxc.pc.in b/lxc.pc.in index 380dd25ea..d0191549b 100644 --- a/lxc.pc.in +++ b/lxc.pc.in @@ -1,7 +1,8 @@ +prefix=@prefix@ bindir=@BINDIR@ -libdir=@LIBDIR@ +libdir=${prefix}/@LIBDIR@ localstatedir=@LOCALSTATEDIR@ -includedir=@INCLUDEDIR@ +includedir=${prefix}/@INCLUDEDIR@ rootfsmountdir=@LXCROOTFSMOUNT@ Name: lxc -- 2.47.2