diff --git a/thermion_dart/hook/build.dart b/thermion_dart/hook/build.dart index bd46696f..72830fe9 100644 --- a/thermion_dart/hook/build.dart +++ b/thermion_dart/hook/build.dart @@ -98,6 +98,8 @@ void main(List args) async { "basis_transcoder", "uberarchive", "zstd", + if(targetOS != OS.linux) + ...["meshoptimizer","mikktspace", "geometry"], if (targetOS == OS.macOS) ...["matdbg", "fgviewer"] ]; @@ -196,6 +198,7 @@ void main(List args) async { ...[ "-stdlib=libc++", "-Wl,--whole-archive" ], if (targetOS != OS.windows)...[ ...libs.map((lib) => "-l$lib"), + if(targetOS == OS.linux) "-Wl,--no-whole-archive", if(targetOS != OS.linux) "-lstdc++",