mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-07 09:30:21 +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);
|
procedure timportlibdarwin.importprocedure(aprocdef:tprocdef;const module : string;index : longint;const name : string);
|
||||||
begin
|
begin
|
||||||
{ insert sharedlibrary }
|
{ insert sharedlibrary }
|
||||||
current_module.linkothersharedlibs.add(SplitName(module),link_always);
|
{ current_module.linkothersharedlibs.add(SplitName(module),link_always); }
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
|
||||||
procedure timportlibdarwin.importvariable(vs:tglobalvarsym;const name,module:string);
|
procedure timportlibdarwin.importvariable(vs:tglobalvarsym;const name,module:string);
|
||||||
begin
|
begin
|
||||||
{ insert sharedlibrary }
|
{ 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 }
|
{ the rest is handled in the nppcld.pas tppcloadnode }
|
||||||
vs.set_mangledname(name);
|
vs.set_mangledname(name);
|
||||||
end;
|
end;
|
||||||
|
Loading…
Reference in New Issue
Block a user