From efceac497fa2702124398b2712761015d9a1c78a Mon Sep 17 00:00:00 2001 From: Jussi Pakkanen Date: Fri, 26 Feb 2016 21:04:11 +0200 Subject: Python extension module finally works on Windows. --- test cases/python3/2 extmodule/ext/meson.build | 3 +++ 1 file changed, 3 insertions(+) (limited to 'test cases/python3/2 extmodule/ext/meson.build') diff --git a/test cases/python3/2 extmodule/ext/meson.build b/test cases/python3/2 extmodule/ext/meson.build index 04c0592c2..7d67953cb 100644 --- a/test cases/python3/2 extmodule/ext/meson.build +++ b/test cases/python3/2 extmodule/ext/meson.build @@ -1,6 +1,9 @@ if host_machine.system() == 'darwin' # Default suffix is 'dylib' but Python does not use for extensions. suffix = 'so' +elif host_machine.system() == 'windows' + # On Windows the extension is pyd for some unexplainable reason. + suffix = 'pyd' else suffix = [] endif -- cgit v1.2.3