diff options
author | Jon Turney <jon.turney@dronecode.org.uk> | 2017-11-12 14:02:01 +0000 |
---|---|---|
committer | Nirbheek Chauhan <nirbheek@centricular.com> | 2017-11-14 02:56:59 +0530 |
commit | c4069a95c23209b243d84a8fc9c81cac480f7dbd (patch) | |
tree | a30f40dc46c64410bf5158a8aac898223e78896a /run_unittests.py | |
parent | 9da031c04c9905949c896a8fdc5b608acd6dde47 (diff) | |
download | meson-c4069a95c23209b243d84a8fc9c81cac480f7dbd.zip meson-c4069a95c23209b243d84a8fc9c81cac480f7dbd.tar.gz meson-c4069a95c23209b243d84a8fc9c81cac480f7dbd.tar.bz2 |
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...
Diffstat (limited to 'run_unittests.py')
-rwxr-xr-x | run_unittests.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/run_unittests.py b/run_unittests.py index 46056ad..a31b942 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' |