File tree Expand file tree Collapse file tree 1 file changed +19
-0
lines changed
graalpython/lib-graalpython/patches Expand file tree Collapse file tree 1 file changed +19
-0
lines changed Original file line number Diff line number Diff line change
1
+ diff --git a/Wrapping/macro_files/itk_end_wrap_module.cmake b/Wrapping/macro_files/itk_end_wrap_module.cmake
2
+ index 63d85c8718..0f94646710 100644
3
+ --- a/Wrapping/macro_files/itk_end_wrap_module.cmake
4
+ +++ b/Wrapping/macro_files/itk_end_wrap_module.cmake
5
+ @@ -422,7 +422,12 @@ ${DO_NOT_WAIT_FOR_THREADS_CALLS}
6
+ if (ITK_USE_PYTHON_LIMITED_API)
7
+ set_target_properties(${lib} PROPERTIES SUFFIX .abi3.so)
8
+ else()
9
+ - set_target_properties(${lib} PROPERTIES SUFFIX .so)
10
+ + find_package(Python)
11
+ + if(PYTHON_FOUND)
12
+ + # Graalpy Patch
13
+ + set_target_properties(${lib} PROPERTIES SUFFIX ${Python_SOABI}.so)
14
+ + else()
15
+ + set_target_properties(${lib} PROPERTIES SUFFIX .so)
16
+ + endif()
17
+ endif()
18
+ endif()
19
+ if(NOT MSVC)
You can’t perform that action at this time.
0 commit comments