summaryrefslogtreecommitdiff
path: root/systems/t_macos.pas
diff options
context:
space:
mode:
Diffstat (limited to 'systems/t_macos.pas')
-rw-r--r--systems/t_macos.pas4
1 files changed, 2 insertions, 2 deletions
diff --git a/systems/t_macos.pas b/systems/t_macos.pas
index 115fbbc330..8418dae2c5 100644
--- a/systems/t_macos.pas
+++ b/systems/t_macos.pas
@@ -64,14 +64,14 @@ end;
procedure timportlibmacos.importprocedure(aprocdef:tprocdef;const module:string;index:longint;const name:string);
begin
{ insert sharedlibrary }
- current_module.linkothersharedlibs.add(SplitName(module),link_allways);
+ current_module.linkothersharedlibs.add(SplitName(module),link_always);
end;
procedure timportlibmacos.importvariable(vs:tglobalvarsym;const name,module:string);
begin
{ insert sharedlibrary }
- current_module.linkothersharedlibs.add(SplitName(module),link_allways);
+ current_module.linkothersharedlibs.add(SplitName(module),link_always);
{ reset the mangledname and turn off the dll_var option }
vs.set_mangledname(name);
exclude(vs.varoptions,vo_is_dll_var);