fix(python): fully working and portable python build
This commit is contained in:
11
meson.build
11
meson.build
@@ -1,8 +1,15 @@
|
||||
project('fourdst', 'cpp', version: 'v0.10.3', default_options: ['cpp_std=c++23'], meson_version: '>=1.5.0')
|
||||
project('fourdst', 'cpp', version: 'v0.10.4', default_options: ['cpp_std=c++23'], meson_version: '>=1.5.0')
|
||||
|
||||
add_project_arguments('-fvisibility=default', language: 'cpp')
|
||||
|
||||
|
||||
if get_option('build_python')
|
||||
py_installation = import('python').find_installation('python3', pure: false)
|
||||
fourdst_wheel_libdir = 'fourdst/lib' # relative to the python platlib
|
||||
fourdst_wheel_headerdir = 'fourdst/include'
|
||||
else
|
||||
fourdst_wheel_libdir = ''
|
||||
fourdst_wheel_headerdir = ''
|
||||
endif
|
||||
# Configure vendor libraries
|
||||
subdir('build-config')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user