From 25c6f11de8d859d2aab49848cfc2c2d9a7f33153 Mon Sep 17 00:00:00 2001 From: Amlal EL Mahrouss Date: Sat, 10 Aug 2024 19:52:44 +0200 Subject: [FIX] Use correct compiler for sci.dll. Signed-off-by: Amlal EL Mahrouss --- SCIKit/build.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/SCIKit/build.json b/SCIKit/build.json index ecd8593d..4c484652 100644 --- a/SCIKit/build.json +++ b/SCIKit/build.json @@ -1,10 +1,10 @@ { - "compiler_path": "g++", + "compiler_path": "x86_64-w64-mingw32-g++.exe", "compiler_std": "c++20", "headers_path": ["../"], "sources_path": ["*.cxx"], "output_name": "sci.dll", - "compiler_flags": ["-fPIC", "-shared", "-std=c++20"], + "compiler_flags": ["-fPIC", "-shared", "-Wl,--subsystem=17"], "cpp_macros": ["__NEWOS_SYMS__"] } \ No newline at end of file -- cgit v1.2.3