Blob Blame History Raw
--- a/lib/gnat/aunit_build.gpr	2012-12-18 14:57:58.401099526 +0400
+++ b/lib/gnat/aunit_build.gpr	2012-12-18 14:59:01.734871937 +0400
@@ -2,6 +2,8 @@
 
 project AUnit_Build is
 
+   Version := "2012";
+
    type Compilation_Mode_Type is
       ("Devel", "Install");
    Mode : Compilation_Mode_Type := external ("MODE", "Install");
@@ -20,7 +22,10 @@
    for Object_Dir use Obj_Dir;
 
    for Library_Name use "aunit";
-   for Library_Kind use "static";
+   for Library_Kind use "relocatable";
+   for Library_Version use
+        "lib" & Project'Library_Name & ".so." & Version;
+
 
    package Compiler is
       case Mode is