File tree 2 files changed +38
-2
lines changed
2 files changed +38
-2
lines changed Original file line number Diff line number Diff line change @@ -2,4 +2,14 @@ name "hookset-libc"
2
2
description "libc based hookset for numem."
3
3
authors "Kitsunebi Games" "Luna" "Inochi2D Project"
4
4
license "BSL-1.0"
5
- targetPath "out/"
5
+ targetPath "out/"
6
+
7
+ configuration "emscripten" {
8
+ platforms "emscripten"
9
+ targetType "staticLibrary"
10
+ dflags "-mattr=+bulk-memory,+multivalue,+reference-types"
11
+ }
12
+
13
+ configuration "others" {
14
+ targetType "staticLibrary"
15
+ }
Original file line number Diff line number Diff line change @@ -5,4 +5,30 @@ license "MIT"
5
5
targetPath "out/"
6
6
7
7
toolchainRequirements "ldc2"
8
- dflags "-mattr=+bulk-memory,+multivalue,+reference-types"
8
+ dflags "-mattr=+bulk-memory,+multivalue,+reference-types"
9
+
10
+ configuration "emscripten32" {
11
+ platforms "emscripten-wasm32"
12
+ dflags "--disable-linker-strip-dead"
13
+ }
14
+
15
+ configuration "emscripten64" {
16
+ platforms "emscripten-wasm64"
17
+ lflags "-mwasm64"
18
+ dflags "--disable-linker-strip-dead"
19
+ }
20
+
21
+ configuration "wasm32" {
22
+ platforms "wasm-wasm32"
23
+ targetType "staticLibrary"
24
+ }
25
+
26
+ configuration "wasm64" {
27
+ platforms "wasm-wasm64"
28
+ targetType "staticLibrary"
29
+ lflags "-mwasm64"
30
+ }
31
+
32
+ configuration "other" {
33
+ targetType "none"
34
+ }
You can’t perform that action at this time.
0 commit comments