We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ee7e401 commit bb92472Copy full SHA for bb92472
cmake/modules/FindASS.cmake
@@ -58,6 +58,13 @@ if(NOT TARGET ${APP_NAME_LC}::${CMAKE_FIND_PACKAGE_NAME})
58
set(DISABLE_ASM "--disable-asm")
59
endif()
60
61
+ # macOS aarch64 toolchains sometimes fail to assemble libass in the
62
+ # ExternalProject. Force a pure-C build here to avoid missing aarch64/*.o
63
+ # during libtool archive.
64
+ if(CMAKE_SYSTEM_NAME STREQUAL "Darwin" AND ARCH STREQUAL aarch64)
65
+ set(DISABLE_ASM "--disable-asm")
66
+ endif()
67
+
68
set(CONFIGURE_COMMAND ${AUTORECONF} -vif
69
COMMAND ./configure
70
--prefix=${DEPENDS_PATH}
0 commit comments