Skip to content

Commit

Permalink
ghdllocal.adb: do not set Exec_Prefix if already set (by libghdl)
Browse files Browse the repository at this point in the history
  • Loading branch information
tgingold committed Jul 5, 2021
1 parent 40402c3 commit 0e0080c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/ghdldrv/ghdllocal.adb
Original file line number Diff line number Diff line change
Expand Up @@ -413,7 +413,10 @@ package body Ghdllocal is
end if;

-- Compute Exec_Prefix.
Set_Exec_Prefix_From_Program_Name;
if Exec_Prefix = null then
-- Only if not already set.
Set_Exec_Prefix_From_Program_Name;
end if;

-- Set prefix path.
-- If not set by command line, try environment variable.
Expand Down

0 comments on commit 0e0080c

Please sign in to comment.