make.adb: Do not include object directories or library ALI directories of library...

2009-07-10  Vincent Celier  <celier@adacore.com>

	* make.adb: Do not include object directories or library ALI
	directories of library projects in the object path.

From-SVN: r149460
This commit is contained in:
Vincent Celier 2009-07-10 11:10:20 +02:00 committed by Arnaud Charlet
parent c53265937a
commit 9d9dacaa9e

View File

@ -6051,9 +6051,10 @@ package body Make is
if Main_Project /= No_Project then
-- Put all the source directories in ADA_INCLUDE_PATH,
-- and all the object directories in ADA_OBJECTS_PATH.
-- and all the object directories in ADA_OBJECTS_PATH,
-- except those of library projects.
Prj.Env.Set_Ada_Paths (Main_Project, Project_Tree, True);
Prj.Env.Set_Ada_Paths (Main_Project, Project_Tree, False);
-- If switch -C was specified, create a binder mapping file