fix for macOS support
This commit is contained in:
@@ -98,6 +98,8 @@ void main(List<String> args) async {
|
|||||||
"basis_transcoder",
|
"basis_transcoder",
|
||||||
"uberarchive",
|
"uberarchive",
|
||||||
"zstd",
|
"zstd",
|
||||||
|
if(targetOS != OS.linux)
|
||||||
|
...["meshoptimizer","mikktspace", "geometry"],
|
||||||
if (targetOS == OS.macOS) ...["matdbg", "fgviewer"]
|
if (targetOS == OS.macOS) ...["matdbg", "fgviewer"]
|
||||||
];
|
];
|
||||||
|
|
||||||
@@ -196,6 +198,7 @@ void main(List<String> args) async {
|
|||||||
...[ "-stdlib=libc++", "-Wl,--whole-archive" ],
|
...[ "-stdlib=libc++", "-Wl,--whole-archive" ],
|
||||||
if (targetOS != OS.windows)...[
|
if (targetOS != OS.windows)...[
|
||||||
...libs.map((lib) => "-l$lib"),
|
...libs.map((lib) => "-l$lib"),
|
||||||
|
if(targetOS == OS.linux)
|
||||||
"-Wl,--no-whole-archive",
|
"-Wl,--no-whole-archive",
|
||||||
if(targetOS != OS.linux)
|
if(targetOS != OS.linux)
|
||||||
"-lstdc++",
|
"-lstdc++",
|
||||||
|
|||||||
Reference in New Issue
Block a user