diff options
author | Anders Roxell <anders.roxell@linaro.org> | 2016-03-29 08:38:17 +0200 |
---|---|---|
committer | Maxim Uvarov <maxim.uvarov@linaro.org> | 2016-03-31 18:08:14 +0300 |
commit | 64d827e4ed96c9e3e7d4780fae299b6409a8f98e (patch) | |
tree | 4742a5d3d612b389c0631f23d0c71c93c6ad2631 /configure.ac | |
parent | 69a77bdac776edf6615c1aae963690a618557d1a (diff) |
pkgconfig: use main ODP version
pkgconfig version string to follow the main odp version, instead of the
git snapshot string since pkg-config/lib consumers are concerned with
the real upstream version.
Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
Tested-and-reviewed-by: Ricardo Salveti <ricardo.salveti@linaro.org>
Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index e2e18e8cc..e9c12297a 100644 --- a/configure.ac +++ b/configure.ac @@ -65,6 +65,8 @@ AC_SUBST([ARCH]) ########################################################################## ODP_LIBSO_VERSION=$(cat ./.so_version) AC_SUBST(ODP_LIBSO_VERSION) +PKGCONFIG_VERSION=$(echo $VERSION | awk -F '.git' '{print $1}') +AC_SUBST(PKGCONFIG_VERSION) ########################################################################## # Determine which platform to build for |