修正编译命令行 -libpath 可能出现的问题
This commit is contained in:
@@ -423,10 +423,10 @@ type t_compile_config=class(tdcreateform)
|
||||
function format_build_params(d);
|
||||
begin
|
||||
r := d["build"]+"="+format('"%s" ',d["buildfile"]);
|
||||
if d["libpath"] and ifstring(d["libpath"]) then
|
||||
begin
|
||||
r+="\r\n-libpath "+d["libpath"]+" ";
|
||||
|
||||
lbp := d["libpath"];
|
||||
if lbp and ifstring(lbp) then
|
||||
begin
|
||||
r+='\r\n-libpath "'+lbp+'" ';
|
||||
end else
|
||||
r+="\r\n-libpath ."+ioFileseparator()+" ";
|
||||
r+="\r\n";
|
||||
|
||||
@@ -5050,10 +5050,10 @@ type TEditerEchoWnd=class(TSynMemoNorm) //
|
||||
function format_build_params(d);
|
||||
begin
|
||||
r := d["build"]+"="+format('"%s" ',d["buildfile"]);
|
||||
if d["libpath"] and ifstring(d["libpath"]) then
|
||||
lbp := d["libpath"];
|
||||
if lbp and ifstring(lbp) then
|
||||
begin
|
||||
r+="-libpath "+d["libpath"]+" ";
|
||||
|
||||
r+='-libpath "'+lbp +'" ';
|
||||
end else
|
||||
r+="-libpath ."+ioFileseparator()+" ";
|
||||
r += f_b_a_param(d,"exports");
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user