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