diff --git a/tests/misc/dynamiclib.cpp b/tests/misc/dynamiclib.cpp index 020eb5b38a..615b703bfa 100644 --- a/tests/misc/dynamiclib.cpp +++ b/tests/misc/dynamiclib.cpp @@ -28,6 +28,9 @@ TEST_CASE("DynamicLibrary::Load", "[dynlib]") #if defined(__WINDOWS__) static const char* const LIB_NAME = "kernel32.dll"; static const char* const FUNC_NAME = "lstrlenA"; +#elif defined(__CYGWIN__) + static const char* const LIB_NAME = "cygwin1.dll"; + static const char* const FUNC_NAME = "strlen"; #elif defined(__DARWIN__) // Under macOS 12+ we can actually load the libc dylib even though the // corresponding file doesn't exist on disk, so we have to handle it