Skip to content

Commit 8d4e5cd

Browse files
committed
[JavaRuntime] Add module.modulemap
Fix a build error in 6.1 toolchain. Apparently some targets have both `JavaRuntime-tool.build` and `JavaRuntime.build` as the include paths. The auto generated `module.modulemap` in both directories cause the error `error: redefinition of module 'JavaRuntime'`. To avoid that, add `module.modulemap` in the source directory so it's not generated. Fixes: #229
1 parent e66e490 commit 8d4e5cd

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
module JavaRuntime {
2+
umbrella header "JavaRuntime.h"
3+
export *
4+
}

0 commit comments

Comments
 (0)