Code clean up.
authorArnaud Charlet <charlet@gcc.gnu.org>
Tue, 2 Aug 2011 09:25:38 +0000 (11:25 +0200)
committerArnaud Charlet <charlet@gcc.gnu.org>
Tue, 2 Aug 2011 09:25:38 +0000 (11:25 +0200)
From-SVN: r177107

gcc/ada/prj-nmsc.adb

index 5175d01ab50ed3b3104208e0650c347ad529f4a9..e29bc9d01f9580e38c1353d63a92e1583f24ec63 100644 (file)
@@ -3724,10 +3724,11 @@ package body Prj.Nmsc is
 
                   else
                      --  For a virtual project extending a library project,
-                     --  inherit library directory.
+                     --  inherit library directory and library kind.
 
                      Project.Library_Dir := Project.Extends.Library_Dir;
                      Library_Directory_Present := True;
+                     Project.Library_Kind := Project.Extends.Library_Kind;
                   end if;
                end if;
             end if;