aboutsummaryrefslogtreecommitdiffstats
path: root/src/ghdldrv/ghdlvpi.adb
diff options
context:
space:
mode:
authorDaniel Gröber <dxld@darkboxed.org>2022-03-13 15:30:54 +0100
committertgingold <tgingold@users.noreply.github.com>2022-03-14 07:59:51 +0100
commit55e33158573e38a4c385ca705e26784176d9b508 (patch)
treeb5b1108554f45337cee893353d6b740414607572 /src/ghdldrv/ghdlvpi.adb
parent5015316150af384bd6d26136c43647f0e799cfc8 (diff)
downloadghdl-55e33158573e38a4c385ca705e26784176d9b508.tar.gz
ghdl-55e33158573e38a4c385ca705e26784176d9b508.tar.bz2
ghdl-55e33158573e38a4c385ca705e26784176d9b508.zip
Fix include-dir paths returned by cmdline _again_
--libghdl-include-dir should point at a directory containing a ghdl/ subdirectory while --vpi-include-dir should point right at the ghdl/ subdir.
Diffstat (limited to 'src/ghdldrv/ghdlvpi.adb')
-rw-r--r--src/ghdldrv/ghdlvpi.adb3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ghdldrv/ghdlvpi.adb b/src/ghdldrv/ghdlvpi.adb
index ef79ee305..41e8c7820 100644
--- a/src/ghdldrv/ghdlvpi.adb
+++ b/src/ghdldrv/ghdlvpi.adb
@@ -38,7 +38,8 @@ package body Ghdlvpi is
Ghdllocal.Set_Exec_Prefix_From_Program_Name;
return Ghdllocal.Exec_Prefix.all & Directory_Separator
- & Default_Paths.IncDir_Suffix;
+ & Default_Paths.IncDir_Suffix & Directory_Separator
+ & "ghdl";
end Get_Vpi_Include_Dir;
-- Return the lib directory.