From 3ee19815b66b927b90709519346a132540ff944e Mon Sep 17 00:00:00 2001 From: Siavash Ameli Date: Wed, 6 Dec 2023 22:19:42 -0800 Subject: [PATCH] meson 12 --- .github/workflows/build-windows.yml | 2 +- meson.build | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-windows.yml b/.github/workflows/build-windows.yml index 5d5cef9..0ae56a9 100644 --- a/.github/workflows/build-windows.yml +++ b/.github/workflows/build-windows.yml @@ -37,7 +37,7 @@ jobs: cd / python -m pip show special_functions ls C:\hostedtoolcache\windows\Python\3.11.6\x64\Lib\site-packages\special_functions - python -c "import os; os.os.add_dll_directory('C:\hostedtoolcache\windows\Python\3.11.6\x64\Lib\site-packages\special_functions'); import special_functions; print(special_functions.besselk(1,1,1))" + python -c "import os; os.add_dll_directory('C:\hostedtoolcache\windows\Python\3.11.6\x64\Lib\site-packages\special_functions'); import special_functions; print(special_functions.besselk(1,1,1))" - name: Test run: | diff --git a/meson.build b/meson.build index a0854fb..8a2c6de 100644 --- a/meson.build +++ b/meson.build @@ -58,7 +58,7 @@ endif # use a linker script to avoid exporting those symbols (this is in addition to # Meson using `-fvisibility=hidden` for C and `-fvisibility-inlines-hidden` for # C++ code. See gh-15996 for details. -_linker_script = meson.project_source_root() / 'scipy/_build_utils/link-version-pyinit.map' +_linker_script = meson.project_source_root() / 'special_functions/_build_utils/link-version-pyinit.map' version_link_args = ['-Wl,--version-script=' + _linker_script] # Note that FreeBSD only accepts version scripts when -shared is passed, # hence we need to pass that to `cc.links` explicitly (flag is already