当前位置:   article > 正文

(native:platform) should not link to libxxx (native:vendor)_can not link against libft2 (native:platform)

can not link against libft2 (native:platform)

system/core/init/Android.mk: error: init (native:platform) should not link to libdrm (native:vendor)
system/core/init/Android.mk: error: init (native:platform) should not link to libkms (native:vendor)

 

出现这种报错修改

build/make/

 

  1. diff --git a/core/link_type.mk b/core/link_type.mk
  2. index f7604ff..3b3d67a 100644
  3. --- a/core/link_type.mk
  4. +++ b/core/link_type.mk
  5. @@ -21,7 +21,7 @@ $(link_type).DEPS := $(addprefix $(my_link_prefix):,$(my_link_deps))
  6. $(link_type).BUILT := $(LOCAL_BUILT_MODULE)
  7. link_type :=
  8. -my_allowed_types :=
  9. +my_allowed_types :=native:vendor
  10. my_link_prefix :=
  11. -my_link_type :=
  12. +my_link_type :=native:vendor
  13. my_warn_types :=

 

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/AllinToyou/article/detail/562556
推荐阅读
相关标签
  

闽ICP备14008679号