diff options
| author | Jussi Pakkanen <jpakkane@gmail.com> | 2016-02-21 17:12:09 +0200 |
|---|---|---|
| committer | Jussi Pakkanen <jpakkane@gmail.com> | 2016-02-21 17:12:09 +0200 |
| commit | a04c33e12527d3ed7a07dce0380afabb46cf4f3d (patch) | |
| tree | 8378a46f1af284779f1d7f347d52147de3c55a57 /test cases/python3 | |
| parent | 98d3fb53725cf961b554a4f44e64975be896eeeb (diff) | |
| download | meson-a04c33e12527d3ed7a07dce0380afabb46cf4f3d.tar.gz | |
Can build Python extension on OSX.
Diffstat (limited to 'test cases/python3')
| -rw-r--r-- | test cases/python3/2 extmodule/ext/meson.build | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/test cases/python3/2 extmodule/ext/meson.build b/test cases/python3/2 extmodule/ext/meson.build index 1184835d8..04c0592c2 100644 --- a/test cases/python3/2 extmodule/ext/meson.build +++ b/test cases/python3/2 extmodule/ext/meson.build @@ -1,6 +1,14 @@ +if host_machine.system() == 'darwin' + # Default suffix is 'dylib' but Python does not use for extensions. + suffix = 'so' +else + suffix = [] +endif + pylib = shared_library('tachyon', 'tachyon_module.c', dependencies : py3_dep, - name_prefix : '') + name_prefix : '', + name_suffix : suffix) pypathdir = meson.current_build_dir() |
