From 55e33158573e38a4c385ca705e26784176d9b508 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Gr=C3=B6ber?= Date: Sun, 13 Mar 2022 15:30:54 +0100 Subject: 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. --- src/ghdldrv/ghdlvpi.adb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/ghdldrv/ghdlvpi.adb') 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. -- cgit v1.2.3