diff options
Diffstat (limited to 'gcc/ada/prj-ext.adb')
-rw-r--r-- | gcc/ada/prj-ext.adb | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gcc/ada/prj-ext.adb b/gcc/ada/prj-ext.adb index 9c9707c1cfa..8c7a5d95d96 100644 --- a/gcc/ada/prj-ext.adb +++ b/gcc/ada/prj-ext.adb @@ -26,6 +26,7 @@ with System.OS_Lib; use System.OS_Lib; with Hostparm; with Makeutl; use Makeutl; +with Opt; with Osint; use Osint; with Prj.Tree; use Prj.Tree; with Sdefault; @@ -212,7 +213,9 @@ package body Prj.Ext is declare New_Dir : constant String := - Normalize_Pathname (Name_Buffer (First .. Last)); + Normalize_Pathname + (Name_Buffer (First .. Last), + Resolve_Links => Opt.Follow_Links_For_Dirs); begin -- If the absolute path was resolved and is different from |