diff options
Diffstat (limited to 'test cases/python3/2 extmodule/ext/meson.build')
| -rw-r--r-- | test cases/python3/2 extmodule/ext/meson.build | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/test cases/python3/2 extmodule/ext/meson.build b/test cases/python3/2 extmodule/ext/meson.build new file mode 100644 index 000000000..7d67953cb --- /dev/null +++ b/test cases/python3/2 extmodule/ext/meson.build @@ -0,0 +1,17 @@ +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 + +pylib = shared_library('tachyon', + 'tachyon_module.c', + dependencies : py3_dep, + name_prefix : '', + name_suffix : suffix) + +pypathdir = meson.current_build_dir() |
