mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-21 13:48:33 -05:00
94cd4505f7
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;
|
|
}
|