mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-24 01:31:46 +00:00
Fixes shared wpiutil switch on athena (#24)
This commit is contained in:
committed by
Peter Johnson
parent
1f93a4ab4f
commit
da68fea081
@@ -60,7 +60,7 @@ ext.setupDefines = { project, binaries ->
|
||||
project.setupReleaseDefines(cppCompiler, linker)
|
||||
}
|
||||
tasks.withType(CppCompile) {
|
||||
if (project.hasProperty('compilerPrefix') && project.targetPlatform.arm) {
|
||||
if (!project.hasProperty('compilerPrefix') && targetPlatform.architecture.name == 'arm-v7') {
|
||||
project.addWpiUtilSharedLibraryLinks(it, linker, targetPlatform)
|
||||
} else {
|
||||
project.addWpiUtilStaticLibraryLinks(it, linker, targetPlatform)
|
||||
|
||||
Reference in New Issue
Block a user