From: Sergio Schvezov Date: Tue, 26 Jul 2016 07:41:47 +0000 (+0200) Subject: Add a prefix to the lxc.pc X-Git-Tag: lxc-1.0.9~43 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f5720a0323a28e1dd97667ff7dbcab05f69e3249;p=thirdparty%2Flxc.git 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 --- 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