|
@@ -447,7 +447,7 @@ begin
|
|
Replace(cmdstr,'$STATIC',StaticStr);
|
|
Replace(cmdstr,'$STATIC',StaticStr);
|
|
Replace(cmdstr,'$STRIP',StripStr);
|
|
Replace(cmdstr,'$STRIP',StripStr);
|
|
Replace(cmdstr,'$DYNLINK',DynLinkStr);
|
|
Replace(cmdstr,'$DYNLINK',DynLinkStr);
|
|
- success:=DoExec(FindUtil(BinStr),CmdStr,true,false);
|
|
|
|
|
|
+ success:=DoExec(FindUtil(utilsprefix+BinStr),CmdStr,true,false);
|
|
|
|
|
|
{ Remove ReponseFile }
|
|
{ Remove ReponseFile }
|
|
if (success) and not(cs_link_extern in aktglobalswitches) then
|
|
if (success) and not(cs_link_extern in aktglobalswitches) then
|
|
@@ -475,14 +475,14 @@ begin
|
|
Replace(cmdstr,'$EXE',current_module.sharedlibfilename^);
|
|
Replace(cmdstr,'$EXE',current_module.sharedlibfilename^);
|
|
Replace(cmdstr,'$OPT',Info.ExtraOptions);
|
|
Replace(cmdstr,'$OPT',Info.ExtraOptions);
|
|
Replace(cmdstr,'$RES',outputexedir+Info.ResName);
|
|
Replace(cmdstr,'$RES',outputexedir+Info.ResName);
|
|
- success:=DoExec(FindUtil(binstr),cmdstr,true,false);
|
|
|
|
|
|
+ success:=DoExec(FindUtil(utilsprefix+binstr),cmdstr,true,false);
|
|
|
|
|
|
{ Strip the library ? }
|
|
{ Strip the library ? }
|
|
if success and (cs_link_strip in aktglobalswitches) then
|
|
if success and (cs_link_strip in aktglobalswitches) then
|
|
begin
|
|
begin
|
|
SplitBinCmd(Info.DllCmd[2],binstr,cmdstr);
|
|
SplitBinCmd(Info.DllCmd[2],binstr,cmdstr);
|
|
Replace(cmdstr,'$EXE',current_module.sharedlibfilename^);
|
|
Replace(cmdstr,'$EXE',current_module.sharedlibfilename^);
|
|
- success:=DoExec(FindUtil(binstr),cmdstr,true,false);
|
|
|
|
|
|
+ success:=DoExec(FindUtil(utilsprefix+binstr),cmdstr,true,false);
|
|
end;
|
|
end;
|
|
|
|
|
|
{ Remove ReponseFile }
|
|
{ Remove ReponseFile }
|
|
@@ -529,7 +529,10 @@ initialization
|
|
end.
|
|
end.
|
|
{
|
|
{
|
|
$Log$
|
|
$Log$
|
|
- Revision 1.2 2003-05-25 23:15:04 marco
|
|
|
|
|
|
+ Revision 1.3 2003-10-03 14:16:48 marco
|
|
|
|
+ * -XP<prefix> support
|
|
|
|
+
|
|
|
|
+ Revision 1.2 2003/05/25 23:15:04 marco
|
|
* NetBSD target support. OpenBSD reserved in the enum, for future use.
|
|
* NetBSD target support. OpenBSD reserved in the enum, for future use.
|
|
|
|
|
|
Revision 1.1 2003/05/20 23:54:00 florian
|
|
Revision 1.1 2003/05/20 23:54:00 florian
|