From d71fff5adaaa9cb150d8dc1d9a26e79182d295e3 Mon Sep 17 00:00:00 2001 From: Martin Mares Date: Thu, 30 Oct 2008 22:38:08 +0100 Subject: [PATCH] LibUCW: Export version of the libraries as well as of Sherlock. --- ucw/default.cfg | 2 ++ ucw/perl/UCW/Configure/LibUCW.pm | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/ucw/default.cfg b/ucw/default.cfg index 6ff7cdeb..5fc8a98e 100644 --- a/ucw/default.cfg +++ b/ucw/default.cfg @@ -4,6 +4,8 @@ # Version of the whole package Set("SHERLOCK_VERSION" => "3.13-dev"); Set("SHERLOCK_VERSION_CODE" => 3013000); +Set("UCW_VERSION" => Get("SHERLOCK_VERSION")); +Set("UCW_VERSION_CODE" => Get("SHERLOCK_VERSION_CODE")); # Compile everything with debug information and ASSERT's UnSet("CONFIG_DEBUG"); diff --git a/ucw/perl/UCW/Configure/LibUCW.pm b/ucw/perl/UCW/Configure/LibUCW.pm index fe3350e4..6a25dbba 100644 --- a/ucw/perl/UCW/Configure/LibUCW.pm +++ b/ucw/perl/UCW/Configure/LibUCW.pm @@ -52,7 +52,7 @@ PostConfig { # Included symbols '^CONFIG_' => 1, '^CPU_' => 1, - '^SHERLOCK_VERSION_' => 1, + '^(SHERLOCK|UCW)_VERSION(_|$)' => 1, ]); } if Get("CONFIG_INSTALL_API"); -- 2.39.2