提交 83e4b46a 编写于 作者: C chenjianwen

Keep libc++.a and libc++.so and remove pthread_gettid

Signed-off-by: Nchenjianwen <chenjianwen15@huawei.com>
上级 5a4d8dd3
......@@ -891,7 +891,6 @@
{ "name": "pthread_getcpuclockid" },
{ "name": "pthread_getschedparam" },
{ "name": "pthread_getspecific" },
{ "name": "pthread_gettid" },
{ "name": "pthread_gettid_np" },
{ "name": "pthread_join" },
{ "name": "pthread_key_create" },
......@@ -1419,4 +1418,4 @@
{ "name": "stdout", "type": "variable" },
{ "name": "timezone", "type": "variable" },
{ "name": "tzname", "type": "variable" }
]
\ No newline at end of file
]
......@@ -26,8 +26,8 @@ ndk_dir=$(ls ${SOURCE_DIR}/lib/|more |awk '{print $NF}')
for i in $ndk_dir
do
find ${OUT_DIR}/lib/$i -name 'libc++.a' -exec rm -f {} \;
find ${OUT_DIR}/lib/$i -name 'libc++.so' -exec rm -f {} \;
find ${OUT_DIR}/lib/$i -name 'libc++.a' -type f -exec bash -c 'echo "INPUT(-lc++_static -lc++abi)" > $1' _ {} \;
find ${OUT_DIR}/lib/$i -name 'libc++.so' -type f -exec bash -c 'echo "INPUT(-lc++_shared)" > $1' _ {} \;
done
cp -rfp ${SOURCE_DIR}/lib ${OUT_DIR}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册