Fixes shared wpiutil switch on athena (#24)

This commit is contained in:
Thad House
2016-12-04 21:44:06 -08:00
committed by Peter Johnson
parent 1f93a4ab4f
commit da68fea081

View File

@@ -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)