diff --git a/compiler/systems/t_emx.pas b/compiler/systems/t_emx.pas index a8ea8f6d8a..85ca4839c2 100644 --- a/compiler/systems/t_emx.pas +++ b/compiler/systems/t_emx.pas @@ -483,7 +483,7 @@ begin AppTypeStr := '-f' else AppTypeStr := '-w'; if not (Current_module.ResourceFiles.Empty) then - RsrcStr := '-r ' + Current_module.ResourceFiles.GetFirst + RsrcStr := '-r ' + Current_module.ResourceFiles.GetFirst + ' ' else RsrcStr := ''; (* Only one resource file supported, discard everything else