1
0
mirror of https://github.com/Kitware/CMake.git synced 2025-10-14 02:08:27 +08:00

Tests: Make function name not match SONAME

We look for `SONAME` in the output of `readelf` to check whether the
binary contains the field.  Do not provide a symbol that may
accidentally match.

Fixes: #16894
This commit is contained in:
Craig Scott
2017-05-18 16:13:02 +10:00
committed by Brad King
parent 02d1186882
commit 94cd4505f7

View File

@@ -4,7 +4,7 @@
#define testLibNoSONAME_EXPORT
#endif
testLibNoSONAME_EXPORT int testLibNoSONAME(void)
testLibNoSONAME_EXPORT int testLibNoSoName(void)
{
return 0;
}