From 9ef51fecacdf14b7ae5e3a53c8089b7961bc6bc9 Mon Sep 17 00:00:00 2001 From: vincents Date: Tue, 23 May 2006 21:59:54 +0000 Subject: [PATCH] fixed default extensions for wince and win64 git-svn-id: trunk@9347 - --- ide/lazconf.pp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ide/lazconf.pp b/ide/lazconf.pp index d43bf88d97..283d6aa05c 100644 --- a/ide/lazconf.pp +++ b/ide/lazconf.pp @@ -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'