mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-12-23 12:05:36 +00:00
all.sh: Fix check_headers_in_cpp
When all.sh invokes check_headers_in_cpp, a backup config.h exists. This causes a stray difference vs cpp_dummy_build.cpp. Fix by only collecting the *.h files in include/mbedtls. Change-Id: Ifd415027e856858579a6699538f06fc49c793570
This commit is contained in:
parent
6f76795bf5
commit
3098707188
|
@ -295,7 +295,7 @@ check_tools()
|
||||||
}
|
}
|
||||||
|
|
||||||
check_headers_in_cpp () {
|
check_headers_in_cpp () {
|
||||||
ls include/mbedtls >headers.txt
|
ls include/mbedtls | grep "\.h$" >headers.txt
|
||||||
<programs/test/cpp_dummy_build.cpp sed -n 's/"$//; s!^#include "mbedtls/!!p' |
|
<programs/test/cpp_dummy_build.cpp sed -n 's/"$//; s!^#include "mbedtls/!!p' |
|
||||||
sort |
|
sort |
|
||||||
diff headers.txt -
|
diff headers.txt -
|
||||||
|
|
Loading…
Reference in a new issue