Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
robtaylor committed Dec 14, 2023
1 parent 19054f0 commit 4a8a83e
Showing 1 changed file with 2 additions and 11 deletions.
13 changes: 2 additions & 11 deletions meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -37,18 +37,9 @@ if get_option('only-docs')
endif

py = import('python').find_installation(pure:false)
py_orig_deps = dependency('python3', required: true)

#python_libpython_link = '-T' + meson.source_root() / 'libpython3.11.ld'
if build_machine.system() == 'linux'
python_libpython_link = '-Wl,--allow-shlib-undefined'
elif build_machine.system() == 'darwin'
python_libpython_link = '-undefined dynamic_lookup'
# todo, investiage using -U
endif
py_deps = dependency('python3', required: true)

py_deps = declare_dependency(dependencies: py_orig_deps, link_args: python_libpython_link)
py_mod_deps = declare_dependency(dependencies: py_orig_deps, compile_args: '-D__PYTHON_MODULE__=1', link_args: python_libpython_link)
py_mod_deps = declare_dependency(dependencies: py_deps, compile_args: '-D__PYTHON_MODULE__=1')

qt = import('qt5', disabler: true)
qt_deps = dependency('qt5',
Expand Down

0 comments on commit 4a8a83e

Please sign in to comment.