|
@@ -219,6 +219,11 @@ package("ffmpeg")
|
|
os.vrunv("make", argv)
|
|
os.vrunv("make", argv)
|
|
os.vrun("make install")
|
|
os.vrun("make install")
|
|
else
|
|
else
|
|
|
|
+ if package:is_cross() then
|
|
|
|
+ table.insert(configs, "--enable-cross-compile")
|
|
|
|
+ table.insert(configs, "--arch=" .. package:targetarch())
|
|
|
|
+ configs.host = "" -- prevents xmake to add a --host=xx parameter
|
|
|
|
+ end
|
|
import("package.tools.autoconf").install(package, configs)
|
|
import("package.tools.autoconf").install(package, configs)
|
|
end
|
|
end
|
|
package:addenv("PATH", "bin")
|
|
package:addenv("PATH", "bin")
|