public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [Ada] Virtually extending library project inherits library kind
@ 2011-08-02  9:09 Arnaud Charlet
  0 siblings, 0 replies; only message in thread
From: Arnaud Charlet @ 2011-08-02  9:09 UTC (permalink / raw)
  To: gcc-patches; +Cc: Vincent Celier

[-- Attachment #1: Type: text/plain, Size: 304 bytes --]

Virtual projects that were extensions of shared library projects were
deemed as static library projects.

Tested on x86_64-pc-linux-gnu, committed on trunk

2011-08-02  Vincent Celier  <celier@adacore.com>

	* prj-nmsc.adb (Check_Library_Attributes): For virtual library project,
	inherit library kind.


[-- Attachment #2: difs --]
[-- Type: text/plain, Size: 686 bytes --]

Index: prj-nmsc.adb
===================================================================
--- prj-nmsc.adb	(revision 176998)
+++ prj-nmsc.adb	(working copy)
@@ -3724,10 +3724,11 @@
 
                   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;

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2011-08-02  9:09 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-08-02  9:09 [Ada] Virtually extending library project inherits library kind Arnaud Charlet

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).