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[]
|
def compilerArgsForJniIncludes = ["", "linux", "darwin"].collect { "-I$javaHome/../include/$it" } as String[]
|
||||||
|
|
||||||
model {
|
model {
|
||||||
|
//TODO: it's better to find some way share this configuration
|
||||||
|
toolChains {
|
||||||
|
clang(Clang) {
|
||||||
|
path "${llvmDir}/bin/clang"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
components {
|
components {
|
||||||
clangbridge(NativeLibrarySpec) {
|
clangbridge(NativeLibrarySpec) {
|
||||||
sources {
|
sources {
|
||||||
|
|||||||
@@ -15,6 +15,13 @@ def javaHome = System.getProperty('java.home')
|
|||||||
def compilerArgsForJniIncludes = ["", "linux", "darwin"].collect { "-I$javaHome/../include/$it" } as String[]
|
def compilerArgsForJniIncludes = ["", "linux", "darwin"].collect { "-I$javaHome/../include/$it" } as String[]
|
||||||
|
|
||||||
model {
|
model {
|
||||||
|
//TODO: it's better to find some way share this configuration
|
||||||
|
toolChains {
|
||||||
|
clang(Clang) {
|
||||||
|
path "${llvmDir}/bin/clang"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
components {
|
components {
|
||||||
callbacks(NativeLibrarySpec) {
|
callbacks(NativeLibrarySpec) {
|
||||||
sources.c.source {
|
sources.c.source {
|
||||||
|
|||||||
Reference in New Issue
Block a user