mirror of
https://github.com/Kitware/CMake.git
synced 2026-03-14 13:30:29 -05:00
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
11 lines
206 B
C
11 lines
206 B
C
#if defined(_WIN32) || defined(__CYGWIN__)
|
|
#define testLibNoSONAME_EXPORT __declspec(dllexport)
|
|
#else
|
|
#define testLibNoSONAME_EXPORT
|
|
#endif
|
|
|
|
testLibNoSONAME_EXPORT int testLibNoSoName(void)
|
|
{
|
|
return 0;
|
|
}
|