Fat frameworks: Use absolute path to lipo
This commit is contained in:
+1
-1
@@ -202,7 +202,7 @@ open class FatFrameworkTask: DefaultTask() {
|
|||||||
|
|
||||||
private fun runLipo(inputFiles: Map<Architecture, File>, outputFile: File) =
|
private fun runLipo(inputFiles: Map<Architecture, File>, outputFile: File) =
|
||||||
project.exec {
|
project.exec {
|
||||||
it.executable = "lipo"
|
it.executable = "/usr/bin/lipo"
|
||||||
it.args = mutableListOf("-create").apply {
|
it.args = mutableListOf("-create").apply {
|
||||||
inputFiles.forEach { (arch, binary) ->
|
inputFiles.forEach { (arch, binary) ->
|
||||||
addAll(listOf("-arch", arch.lipoArg, binary.absolutePath))
|
addAll(listOf("-arch", arch.lipoArg, binary.absolutePath))
|
||||||
|
|||||||
Reference in New Issue
Block a user