Skip to content

Commit b5c7d6b

Browse files
committed
Kotlin: Fix build on OS X
1 parent 7d54b54 commit b5c7d6b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

java/kotlin-extractor/build.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,8 @@ def compile_to_jar(build_dir, tmp_src_dir, srcs, classpath, java_classpath, outp
114114

115115
run_process(['jar', 'cf', output,
116116
'-C', class_dir, '.',
117-
'-C', tmp_src_dir + '/main/resources', '.'])
117+
'-C', tmp_src_dir + '/main/resources', 'META-INF',
118+
'-C', tmp_src_dir + '/main/resources', 'com/github/codeql/extractor.name'])
118119
shutil.rmtree(class_dir)
119120

120121

0 commit comments

Comments
 (0)