blob: 7d67953cbd61249d16e816bfed0ae488756ef65b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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()
|