这是编译脚本
编译出来的文件push到安卓机器里面去运行 最后出现错误"ffmpeg": error: Android 5.0 and later only support position-independent executables (-fPIE).
试过很多种方法都不起作用
这是编译脚本
编译出来的文件push到安卓机器里面去运行 最后出现错误"ffmpeg": error: Android 5.0 and later only support position-independent executables (-fPIE).
试过很多种方法都不起作用
1 回答3.3k 阅读
2 回答1.6k 阅读
1.1k 阅读
2.9k 阅读
-fPIE 用于编译
-pie 用于链接
但要生成PIE程序,必须两者配合使用,即使用-fpie -pie或-fPIE -pie
你可以试试在Android.mk中添加如下代码: