aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDaniel Gröber <dxld@darkboxed.org>2022-03-08 03:57:54 +0100
committertgingold <tgingold@users.noreply.github.com>2022-03-11 08:07:52 +0100
commit430d1ba5b09e4a2a20dc92156e5a1c69dd30bea0 (patch)
tree551a76a975346ac0e804e859bfd242baed7eca74 /src
parent7ee7edde5087ca219b23fd6a65f6c3804cccaa83 (diff)
downloadghdl-430d1ba5b09e4a2a20dc92156e5a1c69dd30bea0.tar.gz
ghdl-430d1ba5b09e4a2a20dc92156e5a1c69dd30bea0.tar.bz2
ghdl-430d1ba5b09e4a2a20dc92156e5a1c69dd30bea0.zip
Fix --libghdl-include-dir ghdl/ suffix
Commit 66cd5e0aa ("Include directory structure proposal.") added a ghdl/ subdir to the include directory. This wasn't properly reflected in ghdlsynth.
Diffstat (limited to 'src')
-rw-r--r--src/ghdldrv/ghdlsynth.adb4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/ghdldrv/ghdlsynth.adb b/src/ghdldrv/ghdlsynth.adb
index 7402925a2..effc04dc7 100644
--- a/src/ghdldrv/ghdlsynth.adb
+++ b/src/ghdldrv/ghdlsynth.adb
@@ -590,7 +590,9 @@ package body Ghdlsynth is
-- Compute install path
Ghdllocal.Set_Exec_Prefix_From_Program_Name;
- return Ghdllocal.Exec_Prefix.all & Directory_Separator & "include";
+ return Ghdllocal.Exec_Prefix.all
+ & Directory_Separator & "include"
+ & Directory_Separator & "ghdl";
end Get_Libghdl_Include_Dir;
procedure Register_Commands is