mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-20 07:19:27 +02:00
+ enable the ISSHAREDLIBRARY option for the win16 internal linker when creating a dll
git-svn-id: trunk@42636 -
This commit is contained in:
parent
2b767c4f8b
commit
4cd8193c79
@ -361,6 +361,8 @@ procedure TInternalLinkerWin16.DefaultLinkScript;
|
||||
var
|
||||
s: TCmdStr;
|
||||
begin
|
||||
if IsSharedLibrary then
|
||||
LinkScript.Concat('ISSHAREDLIBRARY');
|
||||
{ add objectfiles, start with prt0 always }
|
||||
case current_settings.x86memorymodel of
|
||||
mm_small: LinkScript.Concat('READOBJECT ' + maybequoted(FindObjectFile('prt0s','',false)));
|
||||
|
Loading…
Reference in New Issue
Block a user