mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-23 20:50:40 +02:00
fixed default extensions for wince and win64
git-svn-id: trunk@9347 -
This commit is contained in:
parent
53779000ba
commit
9ef51fecac
@ -196,7 +196,7 @@ function GetExecutableExt(TargetOS: string): string;
|
||||
begin
|
||||
if TargetOS='' then
|
||||
TargetOS:=GetDefaultTargetOS;
|
||||
if CompareText(TargetOS, 'win32') = 0 then
|
||||
if CompareText(copy(TargetOS,1,3), 'win') = 0 then
|
||||
Result:='.exe'
|
||||
else
|
||||
Result:='';
|
||||
@ -206,7 +206,7 @@ function GetLibraryExt(TargetOS: string): string;
|
||||
begin
|
||||
if TargetOS='' then
|
||||
TargetOS:=GetDefaultTargetOS;
|
||||
if CompareText(TargetOS, 'win32') = 0 then
|
||||
if CompareText(copy(TargetOS,1,3), 'win') = 0 then
|
||||
Result:='.dll'
|
||||
else if CompareText(TargetOS, 'darwin') = 0 then
|
||||
Result:='.dylib'
|
||||
|
Loading…
Reference in New Issue
Block a user