mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-04 20:50:32 +02:00
- disable automatic adding of "splitfilename(libname)" to to-be-linked
libraries for darwin (accidentally committed in previous commit) git-svn-id: trunk@2595 -
This commit is contained in:
parent
5f3e0b5398
commit
23868147a6
@ -98,14 +98,14 @@ implementation
|
||||
procedure timportlibdarwin.importprocedure(aprocdef:tprocdef;const module : string;index : longint;const name : string);
|
||||
begin
|
||||
{ insert sharedlibrary }
|
||||
current_module.linkothersharedlibs.add(SplitName(module),link_always);
|
||||
{ current_module.linkothersharedlibs.add(SplitName(module),link_always); }
|
||||
end;
|
||||
|
||||
|
||||
procedure timportlibdarwin.importvariable(vs:tglobalvarsym;const name,module:string);
|
||||
begin
|
||||
{ insert sharedlibrary }
|
||||
current_module.linkothersharedlibs.add(SplitName(module),link_always);
|
||||
{ current_module.linkothersharedlibs.add(SplitName(module),link_always); }
|
||||
{ the rest is handled in the nppcld.pas tppcloadnode }
|
||||
vs.set_mangledname(name);
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user