aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/ghdldrv/ghdlsynth.adb1
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);