attempt to fix mac build

This commit is contained in:
Vasily Levchenko
2016-10-26 06:21:31 +03:00
parent a158d52f8c
commit 771be7bef8
2 changed files with 14 additions and 0 deletions
+7
View File
@@ -16,6 +16,13 @@ def javaHome = System.getProperty('java.home')
def compilerArgsForJniIncludes = ["", "linux", "darwin"].collect { "-I$javaHome/../include/$it" } as String[]
model {
//TODO: it's better to find some way share this configuration
toolChains {
clang(Clang) {
path "${llvmDir}/bin/clang"
}
}
components {
clangbridge(NativeLibrarySpec) {
sources {
+7
View File
@@ -15,6 +15,13 @@ def javaHome = System.getProperty('java.home')
def compilerArgsForJniIncludes = ["", "linux", "darwin"].collect { "-I$javaHome/../include/$it" } as String[]
model {
//TODO: it's better to find some way share this configuration
toolChains {
clang(Clang) {
path "${llvmDir}/bin/clang"
}
}
components {
callbacks(NativeLibrarySpec) {
sources.c.source {