mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-11 00:11:07 -06: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:
@@ -4,7 +4,7 @@
|
||||
#define testLibNoSONAME_EXPORT
|
||||
#endif
|
||||
|
||||
testLibNoSONAME_EXPORT int testLibNoSONAME(void)
|
||||
testLibNoSONAME_EXPORT int testLibNoSoName(void)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user