scilab: fix builder for scilab 6.0 (empty matrix error)
This commit is contained in:
parent
94a94edae4
commit
822733bf52
1 changed files with 2 additions and 2 deletions
|
|
@ -884,7 +884,7 @@ public:
|
|||
Printf(builderCode, "libs = [];\n");
|
||||
|
||||
// Flags from command line arguments
|
||||
Printf(builderCode, "cflags = [];\n");
|
||||
Printf(builderCode, "cflags = \"\";\n");
|
||||
for (int i = 0; i < Len(cflags); i++) {
|
||||
String *cflag = Getitem(cflags, i);
|
||||
Printf(builderCode, "cflags = cflags + \" %s\";\n", cflag);
|
||||
|
|
@ -900,7 +900,7 @@ public:
|
|||
}
|
||||
}
|
||||
} else {
|
||||
Printf(builderCode, "ldflags = [];\n");
|
||||
Printf(builderCode, "ldflags = \"\";\n");
|
||||
}
|
||||
|
||||
// External script to set flags
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue