]> mj.ucw.cz Git - libucw.git/commitdiff
LibUCW: Export version of the libraries as well as of Sherlock.
authorMartin Mares <mj@ucw.cz>
Thu, 30 Oct 2008 21:38:08 +0000 (22:38 +0100)
committerMartin Mares <mj@ucw.cz>
Thu, 30 Oct 2008 21:38:08 +0000 (22:38 +0100)
ucw/default.cfg
ucw/perl/UCW/Configure/LibUCW.pm

index 6ff7cdeb11e45bba9ab10c6f817372bb0fd74ac6..5fc8a98eaf971e520f6c936f1c138a75a8d7fb25 100644 (file)
@@ -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");
index fe3350e4f2618f386d7c0ee9b9547858afd985f7..6a25dbbae29bd1328201a08f902e1543b2663785 100644 (file)
@@ -52,7 +52,7 @@ PostConfig {
                        # Included symbols
                        '^CONFIG_' => 1,
                        '^CPU_' => 1,
-                       '^SHERLOCK_VERSION_' => 1,
+                       '^(SHERLOCK|UCW)_VERSION(_|$)' => 1,
 
                ]);
        } if Get("CONFIG_INSTALL_API");