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/
diff --git a/core/link_type.mk b/core/link_type.mk
index f7604ff..3b3d67a 100644
--- a/core/link_type.mk
+++ b/core/link_type.mk
@@ -21,7 +21,7 @@ $(link_type).DEPS := $(addprefix $(my_link_prefix):,$(my_link_deps))
$(link_type).BUILT := $(LOCAL_BUILT_MODULE)
link_type :=
-my_allowed_types :=
+my_allowed_types :=native:vendor
my_link_prefix :=
-my_link_type :=
+my_link_type :=native:vendor
my_warn_types :=
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)