From c4069a95c23209b243d84a8fc9c81cac480f7dbd Mon Sep 17 00:00:00 2001 From: Jon Turney Date: Sun, 12 Nov 2017 14:02:01 +0000 Subject: [PATCH] unit tests: Teach detect_prebuild_env about Cygwin This is enough to fix things. Note that build_shared_lib doesn't use the implib name for mingw or cygwin gcc, only msvc, so I'm not quite sure how this is working, I guess we are using the gcc facility to link directly with a dll... --- run_unittests.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/run_unittests.py b/run_unittests.py index 46056ad75..a31b9429e 100755 --- a/run_unittests.py +++ b/run_unittests.py @@ -1348,6 +1348,9 @@ int main(int argc, char **argv) { if mesonbuild.mesonlib.is_windows(): object_suffix = 'obj' shared_suffix = 'dll' + elif mesonbuild.mesonlib.is_cygwin(): + object_suffix = 'o' + shared_suffix = 'dll' elif mesonbuild.mesonlib.is_osx(): object_suffix = 'o' shared_suffix = 'dylib'