aboutsummaryrefslogtreecommitdiffstats
path: root/src/ghdldrv/ghdlvpi.adb
diff options
context:
space:
mode:
Diffstat (limited to 'src/ghdldrv/ghdlvpi.adb')
-rw-r--r--src/ghdldrv/ghdlvpi.adb7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/ghdldrv/ghdlvpi.adb b/src/ghdldrv/ghdlvpi.adb
index 8bf4dae4d..ef79ee305 100644
--- a/src/ghdldrv/ghdlvpi.adb
+++ b/src/ghdldrv/ghdlvpi.adb
@@ -37,9 +37,8 @@ package body Ghdlvpi is
-- Compute install path
Ghdllocal.Set_Exec_Prefix_From_Program_Name;
- return Ghdllocal.Exec_Prefix.all
- & Directory_Separator & "include"
- & Directory_Separator & "ghdl";
+ return Ghdllocal.Exec_Prefix.all & Directory_Separator
+ & Default_Paths.IncDir_Suffix;
end Get_Vpi_Include_Dir;
-- Return the lib directory.
@@ -50,7 +49,7 @@ package body Ghdlvpi is
Ghdllocal.Set_Exec_Prefix_From_Program_Name;
end if;
- return Ghdllocal.Exec_Prefix.all & Directory_Separator & "lib";
+ return Ghdllocal.Exec_Prefix.all & Directory_Separator & LibDir_Suffix;
end Get_Vpi_Lib_Dir;
-- Return the lib directory, but unixify the path (for a unix shell in