summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorAmlal EL Mahrouss <amlalelmahrouss@icloud.com>2024-08-10 19:52:44 +0200
committerAmlal EL Mahrouss <amlalelmahrouss@icloud.com>2024-08-10 19:52:44 +0200
commit25c6f11de8d859d2aab49848cfc2c2d9a7f33153 (patch)
tree418d375404b2bb69d1f464c10cca9ba510a68555
parent9a0184dae5723488daf16c86ee8a3741cd70f894 (diff)
[FIX] Use correct compiler for sci.dll.
Signed-off-by: Amlal EL Mahrouss <amlalelmahrouss@icloud.com>
-rw-r--r--SCIKit/build.json4
1 files 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