diff options
author | Tristan Gingold <tgingold@free.fr> | 2020-07-01 21:12:45 +0200 |
---|---|---|
committer | Tristan Gingold <tgingold@free.fr> | 2020-07-01 21:12:45 +0200 |
commit | 4227085dc8d1916df701ab4da21c30a15bb5a726 (patch) | |
tree | c8635049fef99de4c5a8a1cfdff17fed8832804b /src | |
parent | f62bfd56da7d7c3f7af3cdc27b7a2698f30cbf4f (diff) | |
download | ghdl-4227085dc8d1916df701ab4da21c30a15bb5a726.tar.gz ghdl-4227085dc8d1916df701ab4da21c30a15bb5a726.tar.bz2 ghdl-4227085dc8d1916df701ab4da21c30a15bb5a726.zip |
ghdlsynth: fix handling of --work within source files.
Diffstat (limited to 'src')
-rw-r--r-- | src/ghdldrv/ghdlsynth.adb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ghdldrv/ghdlsynth.adb b/src/ghdldrv/ghdlsynth.adb index 1ce7d3e36..0789e5a56 100644 --- a/src/ghdldrv/ghdlsynth.adb +++ b/src/ghdldrv/ghdlsynth.adb @@ -281,6 +281,7 @@ package body Ghdlsynth is if Id = Null_Identifier then return Null_Iir; end if; + Libraries.Work_Library_Name := Id; Libraries.Load_Work_Library (True); else Ghdlcomp.Compile_Load_File (Arg); |