mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-19 00:41:43 +00:00
[cscore] Fix jnicvstatic classifier (#2561)
The archive needed to be zip, additionally the library needed to statically link to cscore. All better now
This commit is contained in:
@@ -44,7 +44,7 @@ model {
|
||||
it.buildable = false
|
||||
return
|
||||
}
|
||||
lib library: "${nativeName}", linkage: 'shared'
|
||||
lib library: "${nativeName}", linkage: 'static'
|
||||
lib project: ':wpiutil', library: 'wpiutil', linkage: 'shared'
|
||||
}
|
||||
}
|
||||
|
||||
@@ -113,7 +113,7 @@ model {
|
||||
}
|
||||
|
||||
if (project.hasProperty('cvStaticBuild') && project.getProperty('cvStaticBuild') == true) {
|
||||
def jniCvTaskList = createComponentZipTasks($.components, ["${nativeName}JNICvStatic"], jniCvStaticBaseName, Jar, project, { task, value ->
|
||||
def jniCvTaskList = createComponentZipTasks($.components, ["${nativeName}JNICvStatic"], jniCvStaticBaseName, Zip, project, { task, value ->
|
||||
value.each { binary ->
|
||||
if (binary.buildable) {
|
||||
if (binary instanceof SharedLibraryBinarySpec) {
|
||||
|
||||
Reference in New Issue
Block a user