From dbbf8b4ecb95f3f55327b12d66e1727d2c559270 Mon Sep 17 00:00:00 2001 From: Daniel Lezcano Date: Wed, 10 Jun 2009 19:04:41 +0200 Subject: [PATCH] remove pkg-config dependency from lxc Stupid me, we don't want to add a dependency to an external tool as the library has to be standalone. Just let lxc to define a .pc file, so the upper layer will find the needed informations to use it. Signed-off-by: Daniel Lezcano --- src/lxc/lxc-version.in | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/lxc/lxc-version.in b/src/lxc/lxc-version.in index 190408e63..dcc88b21b 100644 --- a/src/lxc/lxc-version.in +++ b/src/lxc/lxc-version.in @@ -1,4 +1,3 @@ #!/bin/bash -export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:@DATADIR@/pkgconfig -echo "lxc version: $(pkg-config --modversion lxc)" +echo "lxc version: @LXC_MAJOR_VERSION@.@LXC_MINOR_VERSION@.@LXC_MICRO_VERSION@" -- 2.47.2