diff options
author | Daniel Gröber <dxld@darkboxed.org> | 2022-03-13 15:30:54 +0100 |
---|---|---|
committer | tgingold <tgingold@users.noreply.github.com> | 2022-03-14 07:59:51 +0100 |
commit | 55e33158573e38a4c385ca705e26784176d9b508 (patch) | |
tree | b5b1108554f45337cee893353d6b740414607572 /src | |
parent | 5015316150af384bd6d26136c43647f0e799cfc8 (diff) | |
download | ghdl-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')
-rw-r--r-- | src/ghdldrv/ghdlvpi.adb | 3 |
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. |