--- ./cmake/onnxruntime_unittests.cmake.origin	2024-10-21 01:26:37.957554732 +0000
+++ ./cmake/onnxruntime_unittests.cmake	2024-10-21 01:28:01.485976935 +0000
@@ -1523,6 +1523,9 @@
 
   file(GLOB custom_op_src ${custom_op_src_patterns})
   onnxruntime_add_shared_library(custom_op_library ${custom_op_src})
+  if (CMAKE_SYSTEM_NAME MATCHES "AIX")
+    set_target_properties(custom_op_library PROPERTIES AIX_SHARED_LIBRARY_ARCHIVE OFF) 
+  endif()
   target_compile_options(custom_op_library PRIVATE ${custom_op_lib_option})
   target_include_directories(custom_op_library PRIVATE ${REPO_ROOT}/include ${custom_op_lib_include})
   target_link_libraries(custom_op_library PRIVATE ${GSL_TARGET} ${custom_op_lib_link})
--- ./cmake/onnxruntime_providers_cpu.cmake.origin	2024-10-21 01:29:07.907907705 +0000
+++ ./cmake/onnxruntime_providers_cpu.cmake	2024-10-21 01:29:37.716929368 +0000
@@ -234,6 +234,9 @@
 
   source_group(TREE ${ONNXRUNTIME_ROOT}/core FILES ${onnxruntime_providers_shared_cc_srcs})
   onnxruntime_add_shared_library(onnxruntime_providers_shared ${onnxruntime_providers_shared_cc_srcs} "${ONNXRUNTIME_ROOT}/core/dll/onnxruntime.rc")
+  if (CMAKE_SYSTEM_NAME MATCHES "AIX") 
+    set_target_properties(onnxruntime_providers_shared PROPERTIES AIX_SHARED_LIBRARY_ARCHIVE OFF) 
+  endif() 
   set_target_properties(onnxruntime_providers_shared PROPERTIES FOLDER "ONNXRuntime")
   set_target_properties(onnxruntime_providers_shared PROPERTIES LINKER_LANGUAGE CXX)
 
