attempt to fix mac build
This commit is contained in:
@@ -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 {
|
||||
|
||||
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user